Integrate ildasm.exe into VS .NET 2002

Published 20 October 04 11:05 AM

VS .NET allows you to add any number of external tools to the Tools menu. One very helpful technique is to configure ildasm.exe to automatically load up the current assembly being compiled. While VS .NET 2003 sets this up automatically, VS .NET 2002 may update the Tools menu manually. To do so, activate the Tools -> External Tools menu item. The 'Title' edit field allows you to supply the display name of your new menu item. In the 'Command' filed, type in the path to ildasm.exe (for example, C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Bin\ildasm.exe). Finally, and most importantly, be sure to specify $(TargetPath) in the 'Arguments' field. Once you have done so, you can simply activate this menu item and the assembly under development will automatically be loaded into ildasm.exe.

More info on ildasm.exe


Tip from Andrew Troelsen
Posted by: Duncan Mackenzie, MSDN
This post applies to Visual C# .NET 2002

Filed under:

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# Richard Blewett said on October 20, 2004 12:28 PM:
I'd also check the "Use output window" checkbox as it saves getting a console windown briefly appear. And this works for all versions of VS.NET 2002/2003 and 2005

Leave a Comment

(required) 
(optional)
(required) 

  
Enter Code Here: Required

This Blog

Syndication

Page view tracker