Get rid of Regsvr32, Regasm, Gacutil… A Shellextension for .Net and COM dlls

I had originally written a Shellextension for COM dlls, which would give you the option of registering/unregistering a dll (if it is a com dll) by right clicking on it. Here is the original post :http://nishantpant.wordpress.com/wp-admin/post.php?action=edit&post=11

After several years, I finally took out some time and created a Shellextension which works for .Net assemblies as well. These are the few features it has :

1. If you right click on a DLL and if it is a COM Plus dll it will show you the following menu.

COM Plus DllsIf you click on a COM dll but it is not installed in COM+, then you will get all above options except, the last 3 options which are relevant to COM+ only. Also, if you right clik a COM only dll, then it WILL give you an option called “Create COM+ package”.

2. IF you Right click on a dll which is a .Net assembly and is Strong Named as well, you will see the following menu :

If you right click on an Assembly which is not Strong Named, you will see all options except GACUTIL

3. If you hover your mouse over a dll which is a .Net dll, you will see some brief information about the dll like below :

4. If you right click on an Assembly, you will see a menu option called “Open with Lutz Reflector”. In case you dont know what Lutz Reflector is, it is an awesome free tool written by Lutz Roeder which disassembles any .Net assembly and shows you the source code in a very easy to view typelibrary browser. Since you could have downloaded Lutz Reflector anywhere in your PC, my shellextension will prompt you for the location just once when you first click on this option. It will then remember the location and will just open the Reflector with your assembly loaded in it.

Tested with Lutz Reflector 5.1

UPDATE (8/21/08) -¬†Just heard from Lutz Roeder, that his software will be further developed and maintained by Red-Gate software from now on. (It will still be free though). See link for details –>Click to see article

5. If you go to the thumbnail view of any folder which has dlls, the shellextension analyzes the dlls and puts and changes their icon which helps you identify them. The Shellextension can distinguish between a regular dll, COM dll, .Net 1.0, 1.0, 2.0, 3.0 and 3.5 assembly. See below :

6. Last but not the least, you can customize the behavior of the dll and turn the ShellExtensions off or on. You can toggle, IconHandler extension, Right Click context menu extension and ToolTip extension. Here is a snapshot of the configuration screen :

This is the first time I am releasing this ShellExtension, so there may be a few bugs in it. I would really appreciate if you can report the bugs to me by leave a comment in this post. I will try to work on them as soon as I can find time.

DOWNLOAD/Setup :

About these ads

6 Responses

  1. [...] Say goodbye to Regsvr32!! Shellextension for COM dlls, exes, ocx files Posted on November 2, 2006 by Nishant Pant UPDATE: I have written a new ShellExtension which works for .Net assemblies also. See this Post for details : http://nishantpant.wordpress.com/2008/08/19/get-rid-of-regsvr32-regasm-gacutil-a-shellextension-for-… [...]

  2. The Lutz Reflector Path should be?.. %USERPROFILE%\My Documents\ & then what? http://blog.lutzroeder.com/2008/08/future-of-net-reflector.html

  3. I have already given the path of Lutz Reflector in the blog. You can download it here : http://reflector.red-gate.com/Download.aspx.

    Also, it is just an EXECUTABLE file, so that path is wherever you download it. So for example, u download it in C:\, then that is your path. If you download it in your desktop then that is your path.

  4. Does the tool work with .Net 3.5 assemblies?

  5. I am very excited by this tool, thank you for making it available!

    As Lutz reflector is no longer free ( http://reflector.red-gate.com/download.aspx?TreatAsUpdate=1 ) can there be an option to not call it?

    Can this please be updated to cope with v4.0 assemblies (these end up in a different GAC location http://stackoverflow.com/questions/2660355/net-4-0-has-a-new-gac-why )

  6. Sadly I had to uninstall as the Windows 7 windows explorer got confused.
    It is a shame because this looks like it would save me so much time.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 31 other followers

%d bloggers like this: