NAnt
![]() ![]() ![]() |
v0.85 |
[This is preliminary documentation and subject to change.]
Wraps al.exe
, the assembly linker for the .NET Framework.
All specified sources will be embedded using the /embed
flag. Other source types are not supported.
Attribute | Type | Description | Required |
---|---|---|---|
output | file | The name of the output file for the assembly manifest. | True |
target | string | The target type (one of lib , exe , or winexe ). |
True |
culture | string | The culture string associated with the output assembly. The string must be in RFC 1766 format, such as "en-US". | False |
keyfile | file | Specifies a file (filename) that contains a key pair or just a public key to sign an assembly. | False |
template | file | Specifies an assembly from which to get all options except the culture field. | False |
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 |
timeout | int | The maximum amount of time the application is allowed to execute, expressed in milliseconds. Defaults to no time-out. | 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 |
Attribute | Type | Description | Required |
---|---|---|---|
exename | string | The name of the executable that should be used to launch the external program. | False |
useruntimeengine | bool | Specifies whether the external program should be executed using a runtime engine, if configured. The default is false. | False |
Contains a collection of <arg> elements.
Create a library containing all icon files in the current directory.
<al output="MyIcons.dll" target="lib"> <sources> <include name="*.ico" /> </sources> </al>