The usual way:
C:\>gacutil.exe /u[f] <assembly name>
If it can't find gacutil.exe, check the %windir%\Microsoft.NET\Framework\v1.1.4322\ directory.
In this command, assembly name is the name of the assembly to uninstall from the GAC. The following example removes an assembly named hello.dll from the GAC.
gacutil /u "hello,Version=1.0.0.0, Culture=neutral, PublicKeyToken=0123456789ABCDEF"
If you still can't uninstall it, here's a solution from Peter Huang [MSFT] that should work. The original post is at: http://bytes.com/topic/net/answers/49299-uninstall-assembly-gac#post366811
- Run cmd in run dialog.
- cd %systemroot%\assembly\gac\ClassLibrary1\1.0.1322.2 1592__22df95e3b227e638
(My test dll is ClassLibrary1.dll)
- del ClassLibrary1.dll
- del __AssemblyInfo__.ini
- cd..
- rd 1.0.1322.21592__22df95e3b227e638
- cd..
- rd ClassLibrary1
You may perform the steps above to see if the ClassLibray1 has been removed from the GAC.