Problem during uninstallation of assembly from GAC

  • Thread starter Thread starter rkj
  • Start date Start date
R

rkj

Hi,

I am trying to do an uninstallation of assembly (for example,
abc.dll)from GAC using the following.
gacutil.exe /uf abc

This works in Win XP, but this is failing in Win 2k(saying "Assembly
could not be uninstalled because it is required by Windows Installer
Unable to uninstall: assembly is required by one or more applications
Pending references:
SCHEME: <WINDOWS_INSTALLER> ID: <MSI> DESCRIPTION :
<Windows Ins
taller>" ).


So I am trying a workaround for this by doing following.

1. Run cmd in run dialog.
2. cd
%systemroot%\assembly\gac

3. rd /S /Q abc
(My test dll is abc.dll)

This is working and removes the assembly from GAC. But, I am not sure
how much safe it is to do like this. Please tell me if I can do like
this or not.


Thanks in advance,

rkj
 
Hi...

You may have some programs calling those assemblies...it is always safe to
use VS.net command prompt ....in cases while development and deployment
happend simaltanoulsy I would suggest right click on project and use Deploy
option.

HTH

With best Regards
Naveen K S
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top