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

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
 
M

Mattias Sjögren

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
 

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

Top