How can I list all the assemblies that are in the GAC? Do I need a tool that makes it easy to view them?
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.
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.
Use the global assembly cache tool (gacutil.exe) to view the contents of the global assembly cache (GAC).
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With