364,085 Members | 5378 Browsing Online
Community for Developers & IT Professionals
Bytes IT Community

Uninstall Assembly from GAC

Matt Frame
P: n/a
Matt Frame
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 required by
other applications.

I have signed on as the local administrator, I booted into safe mode and I
keep getting this message. Can you only put assemblies into the GAC? I
would assume if you had to update it you have to delete it first. I have
even tried the gacutil -u utility and it comes back with assembly not found.

Please help

Matt


Jul 19 '05 #1
Share this Question
Share on Google+
6 Replies


Phil Wilson
P: n/a
Phil Wilson
Did you install it there in the GAC with a Windows Installer setup? Like a
VS.NET Setup project?
--
Phil Wilson [MVP Windows Installer]
----
"Matt Frame" <mdframe@sorvive.com> wrote in message
news:e0wP0zxcDHA.2460@TK2MSFTNGP10.phx.gbl...[color=blue]
> 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 required by
> other applications.
>
> I have signed on as the local administrator, I booted into safe mode and I
> keep getting this message. Can you only put assemblies into the GAC? I
> would assume if you had to update it you have to delete it first. I have
> even tried the gacutil -u utility and it comes back with assembly not found.
>
> Please help
>
> Matt
>
>[/color]


Jul 19 '05 #2

Peter Huang [MSFT]
P: n/a
Peter Huang [MSFT]
Hi Matt,

Did it a classlibrary or a service?
I think the assembly was installed with one (or more) applications, which
have yet to be uninstalled, and will rely on that assembly being in the GAC
the next time they are used. If you are sure that you want to get rid of
this assembly, then you can use the gacutil /uf command to do it. Note
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 force.


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>
>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[/color]
delete[color=blue]
>I get the following:
>
>Assembly 'Assembly Name' could not be uninstalled because it is required by
>other applications.
>
>I have signed on as the local administrator, I booted into safe mode and I
>keep getting this message. Can you only put assemblies into the GAC? I
>would assume if you had to update it you have to delete it first. I have
>even tried the gacutil -u utility and it comes back with assembly not[/color]
found.[color=blue]
>
>Please help
>
>Matt
>
>
>[/color]

Jul 19 '05 #3

Matt Frame
P: n/a
Matt Frame
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 work
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 Windows
Installer and that is not true.


"Peter Huang [MSFT]" <v-phuang@online.microsoft.com> wrote in message
news:eA8ugo2cDHA.1656@cpmsftngxa06.phx.gbl...[color=blue]
> Hi Matt,
>
> Did it a classlibrary or a service?
> I think the assembly was installed with one (or more) applications, which
> have yet to be uninstalled, and will rely on that assembly being in the[/color]
GAC[color=blue]
> the next time they are used. If you are sure that you want to get rid[/color]
of[color=blue]
> this assembly, then you can use the gacutil /uf command to do it. Note
> 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 force.
>
>
> 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=green]
> >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[/color][/color]
Global[color=blue][color=green]
> >Assembly Cache but now I cannot remove it. When I hi-light and click[/color]
> delete[color=green]
> >I get the following:
> >
> >Assembly 'Assembly Name' could not be uninstalled because it is required[/color][/color]
by[color=blue][color=green]
> >other applications.
> >
> >I have signed on as the local administrator, I booted into safe mode and[/color][/color]
I[color=blue][color=green]
> >keep getting this message. Can you only put assemblies into the GAC? I
> >would assume if you had to update it you have to delete it first. I have
> >even tried the gacutil -u utility and it comes back with assembly not[/color]
> found.[color=green]
> >
> >Please help
> >
> >Matt
> >
> >
> >[/color]
>[/color]


Jul 19 '05 #4

Peter Huang [MSFT]
P: n/a
Peter Huang [MSFT]
Hi Matt,

I have perform many tests and do many searches, but I can not reproduce the
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 removed
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 rights.
--------------------[color=blue]
>From: "Matt Frame" <mdframe@sorvive.com>
>References: <e0wP0zxcDHA.2460@TK2MSFTNGP10.phx.gbl>[/color]
<eA8ugo2cDHA.1656@cpmsftngxa06.phx.gbl>[color=blue]
>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=blue]
>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 Windows
>Installer and that is not true.
>
>
>"Peter Huang [MSFT]" <v-phuang@online.microsoft.com> wrote in message
>news:eA8ugo2cDHA.1656@cpmsftngxa06.phx.gbl...[color=green]
>> Hi Matt,
>>
>> Did it a classlibrary or a service?
>> I think the assembly was installed with one (or more) applications, which
>> have yet to be uninstalled, and will rely on that assembly being in the[/color]
>GAC[color=green]
>> the next time they are used. If you are sure that you want to get rid[/color]
>of[color=green]
>> this assembly, then you can use the gacutil /uf command to do it. Note
>> 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 force.
>>
>>
>> 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>
>> >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[/color][/color]
>Global[color=green][color=darkred]
>> >Assembly Cache but now I cannot remove it. When I hi-light and click[/color]
>> delete[color=darkred]
>> >I get the following:
>> >
>> >Assembly 'Assembly Name' could not be uninstalled because it is required[/color][/color]
>by[color=green][color=darkred]
>> >other applications.
>> >
>> >I have signed on as the local administrator, I booted into safe mode and[/color][/color]
>I[color=green][color=darkred]
>> >keep getting this message. Can you only put assemblies into the GAC? I
>> >would assume if you had to update it you have to delete it first. I[/color][/color][/color]
have[color=blue][color=green][color=darkred]
>> >even tried the gacutil -u utility and it comes back with assembly not[/color]
>> found.[color=darkred]
>> >
>> >Please help
>> >
>> >Matt
>> >
>> >
>> >[/color]
>>[/color]
>
>
>[/color]

Jul 21 '05 #5

Matt Frame
P: n/a
Matt Frame
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 still
don't understand how I can manually add something to the GAC and not be able
to remove it.

Thanks again,

Matt


"Peter Huang [MSFT]" <v-phuang@online.microsoft.com> wrote in message
news:VfhjpRedDHA.460@cpmsftngxa06.phx.gbl...[color=blue]
> Hi Matt,
>
> I have perform many tests and do many searches, but I can not reproduce[/color]
the[color=blue]
> 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=blue]
> 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 rights.
> --------------------[color=green]
> >From: "Matt Frame" <mdframe@sorvive.com>
> >References: <e0wP0zxcDHA.2460@TK2MSFTNGP10.phx.gbl>[/color]
> <eA8ugo2cDHA.1656@cpmsftngxa06.phx.gbl>[color=green]
> >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=green]
> >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=blue][color=green]
> >Installer and that is not true.
> >
> >
> >"Peter Huang [MSFT]" <v-phuang@online.microsoft.com> wrote in message
> >news:eA8ugo2cDHA.1656@cpmsftngxa06.phx.gbl...[color=darkred]
> >> Hi Matt,
> >>
> >> Did it a classlibrary or a service?
> >> I think the assembly was installed with one (or more) applications,[/color][/color][/color]
which[color=blue][color=green][color=darkred]
> >> have yet to be uninstalled, and will rely on that assembly being in the[/color]
> >GAC[color=darkred]
> >> the next time they are used. If you are sure that you want to get[/color][/color][/color]
rid[color=blue][color=green]
> >of[color=darkred]
> >> this assembly, then you can use the gacutil /uf command to do it. Note
> >> 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][/color]
force.[color=blue][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][/color]
> rights.[color=green][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[/color]
> >Global[color=darkred]
> >> >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][/color]
required[color=blue][color=green]
> >by[color=darkred]
> >> >other applications.
> >> >
> >> >I have signed on as the local administrator, I booted into safe mode[/color][/color][/color]
and[color=blue][color=green]
> >I[color=darkred]
> >> >keep getting this message. Can you only put assemblies into the GAC?[/color][/color][/color]
I[color=blue][color=green][color=darkred]
> >> >would assume if you had to update it you have to delete it first. I[/color][/color]
> have[color=green][color=darkred]
> >> >even tried the gacutil -u utility and it comes back with assembly not
> >> found.
> >> >
> >> >Please help
> >> >
> >> >Matt
> >> >
> >> >
> >> >
> >>[/color]
> >
> >
> >[/color]
>[/color]


Jul 21 '05 #6

Peter Huang [MSFT]
P: n/a
Peter Huang [MSFT]
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]

Jul 21 '05 #7

Post your reply

Help answer this question



Didn't find the answer to your .NET Framework question?

You can also browse similar questions: .NET Framework uninstall gac