471,337 Members | 1,355 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,337 software developers and data experts.

Why don't all items in the GAC Show up?

Quick Question --

When I Add Reference from .Net in Visual Studio it only shows a subset
of all the items I see at c:\windows\assembly. .Net works fine
pulling any of those assemblies from the GAC.. I feel like VS has a
separate registry of assemblies that are shown. What's up with
that?

Thanks!
James
Aug 1 '08 #1
1 1090
>When I Add Reference from .Net in Visual Studio it only shows a subset
of all the items I see at c:\windows\assembly. .Net works fine
pulling any of those assemblies from the GAC.. I feel like VS has a
separate registry of assemblies that are shown. What's up with
that?
You got it. The Add Reference dialog does not reflect the content of
the GAC (the GAC is only used at runtime when the CLR loads
assemblies). The dialog lists assemblies in a set of file system
directories (that you can modify in the Registry), such as the
framework directory %WINDIR%\Microsoft.NET\Framework\<version>

Mattias

--
Mattias Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Aug 1 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

9 posts views Thread by Alpha | last post: by
reply views Thread by Terry D | last post: by
2 posts views Thread by John | last post: by
5 posts views Thread by Me LK | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.