NAnt SDK Documentation - v0.92 |

# IlasmTask Class

Compiles ILASM programs.

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

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

[Visual Basic]
<TaskName(Name:="ilasm"), _ ProgramLocation(LocationType:=LocationType.FrameworkDir)>
Public Class IlasmTask
Inherits ExternalProgramBase
[C#]
[TaskName(Name="ilasm")]
[ProgramLocation(LocationType=LocationType.FrameworkDir)]
public class IlasmTask : 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.

#### Example

Compiles `helloworld.il` to `helloworld.exe`.

    <ilasm target="exe" output="helloworld.exe" debug="true">
        <sources>
            <include name="helloworld.il" />
        </sources>
    </ilasm>

#### Requirements

Namespace: NAnt.DotNet.Tasks

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

#### See Also

IlasmTask Members | NAnt.DotNet.Tasks Namespace