Add View in ILDASM.exe in Mouse Right Click option

Greendragons
Posted by in .NET Framework category on for Beginner level | Points: 250 | Views : 9675 red flag
Rating: 4 out of 5  
 1 vote(s)

It is quite troublesome to click ILDASM and then search for the assembly whose IL code you want to see.
Well you can directly add "View In ILDASM.exe" in your right click option, so
as you right click .dll or .exe files you get View In ILDASM.exe and eaisly view IL code.

Introduction


This article guides you to little Registry Tweak through which you can open .exe or .dll (Ofcourse .NET Assemblies only!) files in ILDASM just by right clicking on .dll or .exe files.
    
**BEWARE! If you edit wrong values, then your .dll or .exe  files setting may get corrupt**

  I am explaining everything from scratch....

STEP 1 :

           
               Go to Run

Run as

STEP 2:


               Expand HKEY_CLASSES_ROOT

HKEY_CLASSES_ROOT

STEP 3:


              Type dllfiles or goto HKEY_CLASSES_ROOT\dllfile

dllfile key

STEP 4:


               Add New Key by clicking right click on dllfile key and name that key Shell

Add new Shell Key

STEP 5:


              Then Right click the added key Shell and Add new key to it and name it "View In ILDASM".

STEP 6:

            
              Now right click last added key "View in ILDASM" and add new sub key to it and name it "Command"
.
Command Key
            

STEP 7:


              Now Add Command Key Default value as path to ILDASM.exe with parameter "%1" which sends the .dll   
              full path to ILDASM when you click "View In ILDASM" option in right click.
Enter path

         Now just right click on your .dll file and open it in ILDASM.

Right Click .dll File
The same step is applied to exefiles also when you want to add right click option for .exe files.

Well this is all, right click and Enjoy.... :)
             

Page copy protected against web site content infringement by Copyscape

About the Author

Greendragons
Full Name: Sunny Sethi
Member Level:
Member Status: Member
Member Since: 8/8/2009 4:03:22 AM
Country: India

http://www.dotnetfunda.com
I just love asp.net, messing with codes and everyday i come across new concepts.Whenever i face problem,my friend Vuyi and Abhi are always there to help me...thnx Vuyi and Abhi you both are the Best...

Login to vote for this post.

Comments or Responses

Login to post response

Comment using Facebook(Author doesn't get notification)