Converts a Visual Studio.NET Solution to a NAnt build file or nmake file.
Convert the Solution MySolution.sln to the NAnt build file MySolution.build and call the new build file.
Attribute | Description | Required |
|---|---|---|
solution | The Visual Studio.NET Solution file to convert. | True |
format | The output file format, NAnt or nmake. | True |
output | The output file name. | True |
maps | Mappings from URI to directories. These are required for Web projects. | False |
parameters | Parameters to pass to SLiNgshoT. The parameter build.basedir is required. | False |
failonerror | Determines whether task failure stops the build or is just reported. Default is "true." | False |
verbose | Task reports detailed build log messages. Default is "false." | False |
if | If true then the task will be executed; otherwise skipped. Default is "true." | False |
unless | Opposite of if. If false then the task will be executed; otherwise skipped. Default is "false." | False |
<slingshot solution="MySolution.sln" format="nant" output="MySolution.build"> <parameters> <option name="build.basedir" value="..\bin"/> </parameters> <maps> <option name="http://localhost" value="C:\Inetpub\wwwroot"/> </maps> </slingshot>