I have an application to write dynamic assembly in runtime, so I need to a list of all assemblies in my system like Visual Studio Reference Manager:
My question is: How to fetch a list of all .NET Assemblies by self .NET
languages and without searching a folder files?
Note:
I know I can find any assemblies from: C:\Windows\assembly\GAC\...
or C:\Windows\Microsoft.NET\Framework
but I not sure to find that assemblies in all system by this way!
Because I do not have access to these folders on all computers. So my app only through .NET code can fetch the names of these assemblies. And other problem is that the path to this folder on all the computers are not fixed and may vary.
You should really have a look on GAC Manager project on Codeplex :
https://gacmanager.codeplex.com/
It will be really helpful and nice to use for your purpose. On the project page you'll also find a working sample (not tried with .Net 4.6 by me anyway, hope it works well also for this one)
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