E
Emby
I need to present a list of assemblies as potential references, similar to
(but less sophisticated than) the Visual Studio project references dialog.
The reason for this is that my app supports scripting by dynamically
compiling VB.NET code (via CodeDom.Compiler), and I want to provide for the
selection of references required by the user's script project.
So I want the app to present a list of assemblies installed in the GAC,
including available framework system assemblies (e.g., System.Xml,
System.Data, System.Windows.Forms, etc.).
Is there a managed mechanism to enumerate GAC assemblies? In searching
about, I've found "DOC: Global Assembly Cache (GAC) APIs Are Not Documented
in the .NET Framework Software Development Kit (SDK) Documentation"
(http://support.microsoft.com/default.aspx?scid=kb;en-us;317540). But this
looks like C++, and I was hoping for a C# solution (I could even live
with/translate VB.NET).
Anyone have an idea of how to accomplish this?
Thanks
(but less sophisticated than) the Visual Studio project references dialog.
The reason for this is that my app supports scripting by dynamically
compiling VB.NET code (via CodeDom.Compiler), and I want to provide for the
selection of references required by the user's script project.
So I want the app to present a list of assemblies installed in the GAC,
including available framework system assemblies (e.g., System.Xml,
System.Data, System.Windows.Forms, etc.).
Is there a managed mechanism to enumerate GAC assemblies? In searching
about, I've found "DOC: Global Assembly Cache (GAC) APIs Are Not Documented
in the .NET Framework Software Development Kit (SDK) Documentation"
(http://support.microsoft.com/default.aspx?scid=kb;en-us;317540). But this
looks like C++, and I was hoping for a C# solution (I could even live
with/translate VB.NET).
Anyone have an idea of how to accomplish this?
Thanks