Monday, February 28, 2011

How to uninstall an assembly from GAC (Global assembly Cache)
In this article, I will explain different ways to uninstall an assembly from GAC
1. Using the Windows interface
a. Navigate to the GAC, which is located at %System Drive%\Windows\Assembly.
b. Right-click assembly file that is included in your application, click Uninstall, and then click yes to confirm.
2. Using the command line
a. Click Start, then point to Command Prompt, and run it as administrator.
b. At the command prompt, Navigate to following path:
"C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin"
c.Enter following command gacutil /u "fully qualified assembly name".
In this command, fully qualified assembly name is the name of the assembly to uninstall from the GAC.
For e.g.
gacutil /u "FirstApplication, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ef4b5fc568888"
Here FirstApplication is assembly name

No comments:

Post a Comment