Skip to content


Getting an Assembly’s 4 part name

    Problem

    You need to locate the 4 part name for an assembly, presumably to register the assembly in a web.config file.

    Solution

    Step 1 - Locate Gacutil which can be in a variety of places including Windows SDK & Visual Studio.  The easiest way to run this command is to open a “Visual Studio Command Prompt” located in your visual studio installation.

    Step 2 – Type the following command

    Gacutil /l MyAssemblyName.dll

    Step 3 – Use the file>copy command to copy content from the dos window.

    To Install and Assembly into the GAC

    To install an assembly into the GAC type the following command

    Gacutil /i MyAssemblyName.dll

    To Uninstall an assembly from the GAC

    Gacutil /uf MyAssemblyName (without the .dll)

Share and Enjoy:

Posted in Uncategorized.

0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

Some HTML is OK

(required)

(required, but never shared)

or, reply to this post via trackback.


Powered by eShop v.2