<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>

The assembly-level attributes to generate.
<attribute>

Represents an assembly-level attribute.

Parameters

AttributeTypeDescriptionRequired
typestring Typename of the assembly-level attribute. True
asisbool If true then the value of the attribute will be set as is, without actually looking for a matching constructor or named properties. The default is false. False
ifbool Indicates if the attribute should be generated. False
unlessbool Indicates if the attribute should be not generated. False
valuestring Value of the attribute. False
</attribute>

</attributes>

<imports>

The namespaces to import.

</imports>

<references>

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

</references>

Examples

Requirements

Assembly: NAnt.DotNetTasks (0.86.3402.0)