-
Notifications
You must be signed in to change notification settings - Fork 3
MSBuild Module
Matthew Kelly edited this page Jun 28, 2016
·
1 revision
The MSBuild module allows you to build .NET projects and solutions.
Key | Type | Description | Values |
---|---|---|---|
toolpath | string | [Optional] Specifies the path to the msbuild.exe tool |
[Default] C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe |
configuration | string | [Optional] The configuration mode to build the project/solution in, such as Debug/Release | [Default] Debug |
arguments | string | [Optional] Additional arguments that you would like to be passed when MSBuild is called | - |
clean | boolean | [Optional] Specifies whether the project/solution should first be cleaned | [Default] false |
projects | string array | An array of paths to projects/solutions that require building | - |
The following is an example of using the MSBuild type in a paint section:
{
"paint": [
{
"type": "msbuild",
"configuration": "Release",
"arguments": "/t:Rebuild",
"clean": false,
"projects": [
"C:\\some\\project.sln"
]
}
]
}
This will attempt to run MSBuild from the default location, and will rebuild the project.sln
solution in release
mode.
The erase section for the MSBuild module will be identical to the paint section.