NAnt SDK Documentation - v0.85-nightly-2005-11-09

AssemblyLinkerTask Class

[This is preliminary documentation and subject to change.]

Wraps al.exe, the assembly linker for the .NET Framework.

For a list of all members of this type, see AssemblyLinkerTask Members.

System.Object
   NAnt.Core.Element
      NAnt.Core.Task
         NAnt.Core.Tasks.ExternalProgramBase
            NAnt.DotNet.Tasks.AssemblyLinkerTask

[Visual Basic]
<ProgramLocation(LocationType:=LocationType.FrameworkDir), _  TaskName(Name:="al")>
Public Class AssemblyLinkerTask
    Inherits ExternalProgramBase
[C#]
[ProgramLocation(LocationType=LocationType.FrameworkDir)]
[TaskName(Name="al")]
public class AssemblyLinkerTask : ExternalProgramBase

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

All specified sources will be embedded using the /embed flag. Other source types are not supported.

Example

Create a library containing all icon files in the current directory.

                
            <al output="MyIcons.dll" target="lib">
                <sources>
                    <include name="*.ico" />
                </sources>
            </al>
                
              

Requirements

Namespace: NAnt.DotNet.Tasks

Assembly: NAnt.DotNetTasks (in NAnt.DotNetTasks.dll)

See Also

AssemblyLinkerTask Members | NAnt.DotNet.Tasks Namespace