Add Gacutil To The External Tools List Of Visual Studio
I often have the need to rapidly add my build output to the global assembly cache of .Net. You can do this using a post build event but it really is not ideal. Therefore I added the gacutil command as an external command.
If you want to do this, you first have to figure out the location of your gacutil.exe. Please open the “Developer Command Prompt for Visual Studio”. You can then type “where gacutil” and it will tell you the location(s) of your executable.
Then you switch back to Visual Studio and select the “Tools” menu. Then “External Tools…”.
Click Add to insert a new Item and set it to the following values. Please notice the different argument values for installing and uninstalling from the GAC.
Title: Install to GAC
…and remember to replace the location of gacutil with your own as the command.