Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I list all registered assemblies in GAC?

How can I list all the assemblies that are in the GAC? Do I need a tool that makes it easy to view them?

like image 453
pencilCake Avatar asked Sep 19 '11 10:09

pencilCake


People also ask

How do I find out if assembly is registered in GAC?

If you dont care that the assembly is actually in the GAC, but just loadable on the machine (from the appdomain) you can just use LoadAssembly with the assemblies name (strong, common, full, etc). If the assembly can be loaded by Fusion it will be and then you will know it exists.

Which tool is used to register the assembly in GAC?

Global Assembly Cache tool You can use the . NET Global Assembly Cache utility (gacutil.exe) to add assemblies to the global assembly cache and to view the contents of the global assembly cache.

Which command is used or view contents of GAC?

Use the global assembly cache tool (gacutil.exe) to view the contents of the global assembly cache (GAC).


1 Answers

You can use gacutil provided with Visual Studio for that. Simply open the Developer Command Prompt (available in Start Menu>App>Visual Studio) and run the following command:

gacutil -l >yourassemblies.txt 

Gacutil is also available as a separate download if you don't have/want Visual Studio.

like image 63
dexter Avatar answered Sep 25 '22 21:09

dexter