<asminfo>

[This is preliminary documentation and subject to change.]

Generates an AssemblyInfo file using the attributes given.

Parameters

Attribute Type Description Required
language CodeLanguage The code language in which the AssemblyInfo file should be generated. True
output file Name of the AssemblyInfo file to generate. 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:

<attributes>

<attribute ... />

The assembly-level attributes to generate.

Contains a strongly typed collection of AssemblyAttribute objects.

<attribute ... />
...

</attributes>

<imports>

<import ... />

The namespaces to import.

Contains a collection of NamespaceImport elements.

<import ... />
...

</imports>

<references>

Assembly files used to locate the types of the specified attributes.

</references>

Examples

Requirements

Assembly: NAnt.DotNetTasks (0.85.1793.0)