<slingshot>

[This is preliminary documentation and subject to change.]

(Deprecated)

Converts a Visual Studio.NET Solution to a NAnt build file or nmake file.

Parameters

Attribute Type Description Required
format string The output file format - either nant or nmake. 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

Nested Elements:

<maps>

Mappings from URI to directories. These are required for web projects.
<option>

Represents an option.

Parameters

AttributeTypeDescriptionRequired
namestring Name of the option. True
ifbool Indicates if the option should be passed to the task. If true then the option will be passed; otherwise, skipped. The default is true. False
unlessbool Indicates if the option should not be passed to the task. If false then the option will be passed; otherwise, skipped. The default is false. False
valuestring Value of the option. The default is a null reference (Nothing in Visual Basic). False
</option>

</maps>

<parameters>

Parameters to pass to SLiNgshoT. The parameter build.basedir is required.
<option>

Represents an option.

Parameters

AttributeTypeDescriptionRequired
namestring Name of the option. True
ifbool Indicates if the option should be passed to the task. If true then the option will be passed; otherwise, skipped. The default is true. False
unlessbool Indicates if the option should not be passed to the task. If false then the option will be passed; otherwise, skipped. The default is false. False
valuestring Value of the option. The default is a null reference (Nothing in Visual Basic). False
</option>

</parameters>

Examples

Requirements

Assembly: NAnt.Contrib.Tasks (0.93.4841.0)