To remove all assemblies from GAC and Native cache of a particular public key

  • Thread starter Thread starter Mushq
  • Start date Start date
M

Mushq

Two questions!
By using GACUTIL!
Is there any way to remove all the assemblies of a particular public
key token from GAC?

By using NGEN!
Is there any way to remove all the assemblies of a particular public
key token from native code cache? AFAIK the command "NGEN uninstall *"
removes all assemblies from native code cache.



Best Regards,
Mushq
 
Two questions!
By using GACUTIL!
Is there any way to remove all the assemblies of a particular public
key token from GAC?

By using NGEN!
Is there any way to remove all the assemblies of a particular public
key token from native code cache? AFAIK the command "NGEN uninstall *"
removes all assemblies from native code cache.

Not by using Gacutil or Ngen alone. But if you have some batch file or
PowerShell scripting skills it should be possible to list the GAC/NGEN
content, parse and filter the output and use that to specify which
assemblies to remove.


Mattias
 
Back
Top