All specified sources will be embedded using the /embed
flag.
Other source types are not supported.
Parameters
Framework-configurable parameters
Nested elements
<arg>
The command-line arguments for the external program.
When passed to an external application, the argument will be quoted
when appropriate. This does not apply to the NAnt.Core.Types.Argument.Line
parameter, which is always passed as is.
Parameters
Nested elements
Examples
A single command-line argument containing a space character.
<arg value="-l -a" />
Two separate command-line arguments.
<arg line="-l -a" />
A single command-line argument with the value \dir;\dir2;\dir3
on DOS-based systems and /dir:/dir2:/dir3
on Unix-like systems.
<arg path="/dir;/dir2:\dir3" />
<arg>
Examples
Create a library containing all icon files in the current directory.
<al output="MyIcons.dll" target="lib">
<sources>
<include name="*.ico" />
</sources>
</al>
Create an executable assembly manifest from modules.
<al output="Client.exe" target="exe" main="Program.Main">
<modules>
<include name="Client.netmodule" />
<include name="Common.netmodule" />
</modules>
</al>
Requirements
- Assembly
- NAnt
.DotNet .dll - Namespace
-
NAnt
.DotNet .Tasks