>I want to write browser of .NET Framework components in C#
>so is there any API to get all .NET Framework components available for
>referencing(visual studio has in Project menu "Add reference"(tab .NET)).
>Any ideas?

The Add Reference dialog lists assemblies in the framework directory 
(%systemroot%\Microsoft.NET\Framework\v1.0.3705), plus assemblies from any 
folders listed under the following Registry keys

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\AssemblyFolders
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\7.0\AssemblyFolders

I don't think there's any API for this, you have to enumerate the files 
yourself.


Mattias

===
Mattias Sjögren
[EMAIL PROTECTED]

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to