Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Cannot see assemblies in GAC from VS.NET

0 views
Skip to first unread message

Thomas Koch

unread,
Sep 2, 2003, 6:50:33 AM9/2/03
to
Hi - I have registered a dll (which has a string name) in the GAC.

However I cannot see the assembly from within VS.NET. What I would like to
do is to be able to right click on "References" in my project and then be
able to select the my registered assembly there under the ".NET" heading,
but for some reason, this is not possible.

I have examined %WINDIR%/assembly/GAC and here my registered assembly is
present.

Can anyone tell me what is wrong?

Regards
Thomas Koch


Carlos J. Quintero

unread,
Sep 3, 2003, 3:53:08 AM9/3/03
to
The GAC is a deployment feature, and therefore is not used by VS.Net which
is related with development.

The References dialog searches assemblies in the folders specified in
registry entries such

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\7.0\AssemblyFolders,
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\AssemblyFolders
...
but not in the GAC.

For your internal development you can use the "Browse..." button to locate
the assemby.

If you are creating a commercial control or library to be used for
development in VS.Net, your setup apart from adding the assembly to the GAC,
it should copy it to some folder of the file system and add the proper entry
to the first of the above registry entries so other developers can add a
reference to a project without browsing the file system.

Well, taking a look with regedit at the above registry entries should
clarify you the whole picture.

HTH,

Carlos Quintero


"Thomas Koch" <thoma...@yahoo.dk> escribió en el mensaje
news:OEuAE$TcDHA...@TK2MSFTNGP12.phx.gbl...

Thomas Koch

unread,
Sep 3, 2003, 4:56:24 AM9/3/03
to
Hi Carlos - thank you very very much.

That was the explanation I was looking for. :-)

Cheers.

Thomas Koch


"Carlos J. Quintero" <carlos_j_quintero@_NO_MORE_SPAM_hotmail.com> wrote in
message news:eJo$rBfcDH...@TK2MSFTNGP12.phx.gbl...

0 new messages