What is ILDASM ?
It is Intermediate Language Dissembler SDK Tool that is used to examine MSIL code and the parts of the Assembly. It comes with the installation of Visual Studio IDE. If you want to examine how your compiler is executing your code and debug your program into depth, understand the flow of a concept or implement best practices its the best tool that IDE gives to use.
You can find this tool in Framework Tools Folder in the following path with name ildasm.exe
C:\Program Files\Microsoft SDKs\Windows\v7.0A\bin\NETFX 4.0 Tools
You can also find it Microsoft Windows SDK Tools in VS2010
You can add this as desktop short cut to use the tool handy.
Or else we can integrate the tool to VS2010.
In order to Integrate go to Tools-> External Tools as shown below.
External Tools PopUp Appears as shown below, Click on Add button and specify the following properties.
Specify Title : What ever You wish
Command : C:\Program Files\Microsoft SDKs\Windows\v7.0A\bin\NETFX 4.0 Tools\ildasm.exe
Arguments : $(TargetPath) - Optional
InitialDirectory : $(TargetDir)
Checking the checkboxes Use Output Window . It depends on your requirement and if you use it to be handy then you can . Uncheck the Check box Prompt for arguments , otherwise each time you will be prompted for the arguments .
Click Apply and then Press OK.
Now ILDASM is added to your Tools Menu and now you can access it from Visual Studio IDE as shown below.
Now you do not need to got to VS2010 Command Prompt to launch ILDASM.exe. The advantage is it automatically selects the path of the dll for corresponding project . A Nice Time Saver approach.
This can be done to any IDE from VS2002 to VS2010 (The only path changes to different IDEs) . Now tell me how many of you already using this? or just learned it?