Disassembles any portable executable (PE) file that contains intermediate language (IL) code.
For a list of all members of this type, see IldasmTask Members.
System.Object
NAnt.Core.Element
NAnt.Core.Task
NAnt.Core.Tasks.ExternalProgramBase
NAnt.MSNet.Tasks.IldasmTask
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
Files are only disassembled if the input file is newer than the output file, or if the output file does not exist. However, you can explicitly force files to be disassembled with the ForceRebuild attribute.
A FileSet can be used to select files to disassemble. To use a FileSet, the ToDirectory attribute must be set. The file name of the output file will be equal to the file name of the input file, but with extension ".il".
Disassembles helloworld.exe
to helloworld.il
.
<ildasm input="helloworld.exe" output="helloworld.il" />
Disassembles a set of PE files into the specified directory.
<ildasm todir="."> <assemblies> <include name="*.exe" /> <include name="*.dll" /> </assemblies> </ildasm>
Namespace: NAnt.MSNet.Tasks
Assembly: NAnt.MSNetTasks (in NAnt.MSNetTasks.dll)
IldasmTask Members | NAnt.MSNet.Tasks Namespace