Hi Matt,
I think the ClassLibrary that was added to the GAC is also a file in the
disk. So if you can delete the file in the disk, you can also remove it
from the GAC.[a directory]
If you don't want the ClassLibrary removed, you may need to forbide the the
ClassLibrary file from being deleted.
Did I answer your question?
Regards,
Peter Huang
Microsoft Online Partner Support
Get Secure!
www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
--------------------[color=blue]
>From: "Matt Frame" <mdframe@sorvive.com>
>References: <e0wP0zxcDHA.2460@TK2MSFTNGP10.phx.gbl>[/color]
<eA8ugo2cDHA.1656@cpmsftngxa06.phx.gbl>
<ueytVK7cDHA.3240@TK2MSFTNGP11.phx.gbl>
<VfhjpRedDHA.460@cpmsftngxa06.phx.gbl>[color=blue]
>Subject: Re: Uninstall Assembly from GAC
>Date: Mon, 8 Sep 2003 09:53:29 -0400
>Lines: 149
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>Message-ID: <#EdyTChdDHA.2332@TK2MSFTNGP11.phx.gbl>
>Newsgroups: microsoft.public.dotnet.general
>NNTP-Posting-Host: c-24-125-30-151.va.client2.attbi.com 24.125.30.151
>Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP11.phx.gbl
>Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.general:107658
>X-Tomcat-NG: microsoft.public.dotnet.general
>
>Peter,
>
>Thanks for that solution. I was able to remove it with your recommended
>approach. I really appreciate it as I had no idea what to do next. I[/color]
still[color=blue]
>don't understand how I can manually add something to the GAC and not be[/color]
able[color=blue]
>to remove it.
>
>Thanks again,
>
>Matt
>
>
>"Peter Huang [MSFT]" <v-phuang@online.microsoft.com> wrote in message
>news:VfhjpRedDHA.460@cpmsftngxa06.phx.gbl...[color=green]
>> Hi Matt,
>>
>> I have perform many tests and do many searches, but I can not reproduce[/color]
>the[color=green]
>> problem and find no known issue.
>> Anyway, you may try to delete the file in GAC directory directly by
>> following the steps below.
>> 1. Run cmd in run dialog.
>> 2. cd
>> %systemroot%\assembly\gac\ClassLibrary1\1.0.1322.2 1592__22df95e3b227e638
>> (My test dll is ClassLibrary1.dll)
>> 3. del ClassLibrary1.dll
>> 4. del __AssemblyInfo__.ini
>> 5. cd..
>> 6. rd 1.0.1322.21592__22df95e3b227e638
>> 7. cd..
>> 8. rd ClassLibrary1
>>
>> You may perform the steps above to see if the ClassLibray1 has been[/color]
>removed[color=green]
>> from the GAC.
>>
>>
>>
>>
>> Regards,
>> Peter Huang
>> Microsoft Online Partner Support
>> Get Secure!
www.microsoft.com/security
>> This posting is provided "as is" with no warranties and confers no[/color][/color]
rights.[color=blue][color=green]
>> --------------------[color=darkred]
>> >From: "Matt Frame" <mdframe@sorvive.com>
>> >References: <e0wP0zxcDHA.2460@TK2MSFTNGP10.phx.gbl>[/color]
>> <eA8ugo2cDHA.1656@cpmsftngxa06.phx.gbl>[color=darkred]
>> >Subject: Re: Uninstall Assembly from GAC
>> >Date: Fri, 5 Sep 2003 09:35:36 -0400
>> >Lines: 73
>> >X-Priority: 3
>> >X-MSMail-Priority: Normal
>> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>> >Message-ID: <ueytVK7cDHA.3240@TK2MSFTNGP11.phx.gbl>
>> >Newsgroups: microsoft.public.dotnet.general
>> >NNTP-Posting-Host: c-24-125-30-151.va.client2.attbi.com 24.125.30.151
>> >Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP11.phx.gbl
>> >Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.general:107422
>> >X-Tomcat-NG: microsoft.public.dotnet.general
>> >
>> >This is just a small 5 line class that I was testing with. It is not
>> >installed as part of anything. I tried the gacutil /uf and that didn't[/color]
>> work[color=darkred]
>> >either. It gives me the same message as the other methods.
>> >
>> >I created a second small utility and it does the same thing. I can't
>> >uninstall anything I add and it thinks they have been installed by[/color][/color]
>Windows[color=green][color=darkred]
>> >Installer and that is not true.
>> >
>> >
>> >"Peter Huang [MSFT]" <v-phuang@online.microsoft.com> wrote in message
>> >news:eA8ugo2cDHA.1656@cpmsftngxa06.phx.gbl...
>> >> Hi Matt,
>> >>
>> >> Did it a classlibrary or a service?
>> >> I think the assembly was installed with one (or more) applications,[/color][/color]
>which[color=green][color=darkred]
>> >> have yet to be uninstalled, and will rely on that assembly being in[/color][/color][/color]
the[color=blue][color=green][color=darkred]
>> >GAC
>> >> the next time they are used. If you are sure that you want to get[/color][/color]
>rid[color=green][color=darkred]
>> >of
>> >> this assembly, then you can use the gacutil /uf command to do it.[/color][/color][/color]
Note[color=blue][color=green][color=darkred]
>> >> however, that even gacutil /uf will not uninstall
>> >> assemblies put in the GAC by Windows Installer.
>> >> You may try to use gacutil /lr to see if there is any reference?
>> >> You may also try to use gacutil /uf to uninstall the assembly by[/color][/color]
>force.[color=green][color=darkred]
>> >>
>> >>
>> >> Regards,
>> >> Peter Huang
>> >> Microsoft Online Partner Support
>> >> Get Secure!
www.microsoft.com/security
>> >> This posting is provided "as is" with no warranties and confers no[/color]
>> rights.[color=darkred]
>> >> --------------------
>> >> >From: "Matt Frame" <mdframe@sorvive.com>
>> >> >Subject: Uninstall Assembly from GAC
>> >> >Date: Thu, 4 Sep 2003 15:44:30 -0400
>> >> >Lines: 17
>> >> >X-Priority: 3
>> >> >X-MSMail-Priority: Normal
>> >> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>> >> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>> >> >Message-ID: <e0wP0zxcDHA.2460@TK2MSFTNGP10.phx.gbl>
>> >> >Newsgroups: microsoft.public.dotnet.general
>> >> >NNTP-Posting-Host: c-24-125-30-151.va.client2.attbi.com 24.125.30.151
>> >> >Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP10.phx.gbl
>> >> >Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.general:107339
>> >> >X-Tomcat-NG: microsoft.public.dotnet.general
>> >> >
>> >> >I wrote a small assembly to test the process of placing it into the
>> >Global
>> >> >Assembly Cache but now I cannot remove it. When I hi-light and click
>> >> delete
>> >> >I get the following:
>> >> >
>> >> >Assembly 'Assembly Name' could not be uninstalled because it is[/color][/color]
>required[color=green][color=darkred]
>> >by
>> >> >other applications.
>> >> >
>> >> >I have signed on as the local administrator, I booted into safe mode[/color][/color]
>and[color=green][color=darkred]
>> >I
>> >> >keep getting this message. Can you only put assemblies into the GAC?[/color][/color]
>I[color=green][color=darkred]
>> >> >would assume if you had to update it you have to delete it first. I[/color]
>> have[color=darkred]
>> >> >even tried the gacutil -u utility and it comes back with assembly not
>> >> found.
>> >> >
>> >> >Please help
>> >> >
>> >> >Matt
>> >> >
>> >> >
>> >> >
>> >>
>> >
>> >
>> >[/color]
>>[/color]
>
>
>[/color]