| NAntContrib  Help  Task Reference  <slingshot> | v0.85-rc1 | 
[This is preliminary documentation and subject to change.]
(Deprecated)
Converts a Visual Studio.NET Solution to a NAnt build file or nmake file.
| Attribute | Type | Description | Required | 
|---|---|---|---|
| format | string | The output file format - either nantornmake. | True | 
| output | string | The output file name. | True | 
| solution | string | The Visual Studio.NET solution file to convert. | True | 
| failonerror | bool | Determines if 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 | 
Contains a collection of Option elements.
build.basedir is required. Contains a collection of Option elements.
 Convert the solution MySolution.sln to the NAnt build file MySolution.build and call the new build file. 
<slingshot solution="MySolution.sln" format="nant" output="MySolution.build"> 
    <parameters>
        <option name="build.basedir" value="..\bin"/>
    </parameters> 
</slingshot>
<nant buildfile="MySolution.build"/>
       Convert the solution MySolution.sln to the NAnt build file MySolution.build. As the solution contains one or more web projects, one or more maps needs to be specified. 
<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>