<commit_before>EasyBuild
=========
[![Build Status](https://travis-ci.org/giacomelli/EasyBuild.png?branch=master)](https://travis-ci.org/giacomelli/EasyBuild)

An easy-to-use collection of MS Build tasks to help improve your build process.


--------

Tasks
===
 - **StartWebProjectTask**: when you need to start some one of your web projects during the build process (usefull when you need to generate some client library for your web apis).
 
--------

Usage
===
Build the EasyBuild, put his assembly and dependencies assemblies in a folder on your solution, let me say "references\EasyBuild"

StartWebProjectTask
---
Create a file called StartMyWebProject.targets on your msbuilds file folder (if you don't have one, create one "msbuilds" on your solution root dir):
 
```xml
<Project ToolsVersion="4.0" DefaultTargets="BeforeBuild" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
    <UsingTask TaskName="StartWebProjectTask" 
        AssemblyFile="..\EasyBuild\bin\Debug\EasyBuild.dll"/>
    
    	<Target Name="BeforeBuild">
    		<Message text="Starting MyWebProject..." />
    		<StartWebProjectTask projectFolderName="MyWebProject" port="8181" />
    		<Message text="MyWebProject started." />
	</Target>
</Project>

```

Edit the project file that you want use the task, and add the follow line bellow "Microsoft.CSharp.targets" line:

```xml
<Import Project="..\msbuilds\StartMyWebProject.targets" />

```

Build your project and the web project should be started before the project build.

--------

FAQ
-------- 
Having troubles? 
 - Ask on [Stack Overflow](http://stackoverflow.com/search?q=EasyBuild)
<commit_msg>Readme improvements.<commit_after>EasyBuild
=========
[![Build Status](https://travis-ci.org/giacomelli/EasyBuild.png?branch=master)](https://travis-ci.org/giacomelli/EasyBuild)

An easy-to-use collection of MS Build tasks to help improve your build process.


--------

Tasks
===
 - **StartWebProjectTask**: when you need to start some one of your web projects during the build process (usefull to generate some client library for your web apis).
 
--------

Usage
===
Build the EasyBuild, put his assembly and dependencies assemblies in a folder on your solution, let me say "references\EasyBuild"

StartWebProjectTask
---
Create a file called StartMyWebProject.targets on your msbuilds file folder (if you don't have one, create one "msbuilds" on your solution root dir):
 
```xml
<Project ToolsVersion="4.0" DefaultTargets="BeforeBuild" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
    <UsingTask TaskName="StartWebProjectTask" 
        AssemblyFile="..\references\EasyBuild\EasyBuild.dll"/>
    
    	<Target Name="BeforeBuild">
    		<Message text="Starting MyWebProject..." />
    		<StartWebProjectTask projectFolderName="MyWebProject" port="8181" />
    		<Message text="MyWebProject started." />
	</Target>
</Project>

```

Edit the target project file that you want use the task, and add the following line bellow the "Microsoft.CSharp.targets" one:

```xml
<Import Project="..\msbuilds\StartMyWebProject.targets" />

```

Build your project and the web project (MyWebProject) should be started before the target project build.

--------

FAQ
-------- 
Having troubles? 
 - Ask on [Stack Overflow](http://stackoverflow.com/search?q=EasyBuild)

{'fraction_non_alphanumeric': 0.132890365448505, 'fraction_numerical': 0.006040471156750227, 'mean_word_length': 4.0564885496183205, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 21, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6214054', 'n_tokens_mistral': 1011, 'n_tokens_neox': 938, 'n_words': 308}