Wednesday, August 20, 2008

GAC it within Visual Studio

It is convenient to GAC a .NET assembly directly in Visual Studio 2008. In Visual Studio, go to "Tools" in the menu and choose "External Tools..." Enter the information in the dialog as shown above. (The assembly in your project may need to have a strong name). After building your project, select it and choose "GAC it" from "Tools". There you go, you have just GACed your assembly.

No comments: