<solution>Builds a Visual Studio .NET solution file.
| Attribute | Type | Description | Required |
|---|
| configuration | string | The name of the solution configuration to build. | True |
| includevsfolders | bool | Includes Visual Studio search folders in reference search path. The default is true. | False |
| outputdir | string | The directory where compiled targets will be placed. This overrides path settings contained in the solution/project. | False |
| solutionfile | string | The name of the VS.NET solution file to build. | False |
| failonerror | bool | Determines whether task failure stops the build or is just reported. The default is true. | False |
| if | bool | If true then the task will be executed; otherwise, skipped. The default is true. | False |
| unless | bool | Opposite of if. If false then the task will be executed; otherwise, skipped. The default is false. | False |
| verbose | bool | Determines whether the task should report detailed build log messages. The default is false. | False |
Example
<solution configuration="release" solutionfile="test.sln" />