Groups | Blog | Home
all groups > dotnet setup > february 2005 >

dotnet setup : GAC Assembly not seen in the reference liste with Visual Studio 2003 ?


Gilles Lambert
2/8/2005 2:00:14 AM
Hi,

After installing an Assembly (.dll file) in the GAC, i d'ont see it in
the list of References in a client project. Reading the doc, i see that
the file should only be placed in the folder C:\Program Files\Microsoft
Visual Studio .NET 2003\Common7\IDE\PublicAssemblies and the reference
appears effectively. So, despite the fact i'm sure using GAC is better,
i ask myself where is the difference and how to see my Assembly
registred in the GAC in the Reference list ?

Thanks and best regards
Gilles


*** Sent via Developersdex http://www.developersdex.com ***
Gilles Lambert
2/8/2005 3:10:25 AM
better than copy the assemby in the folder PublicAssemblies.

So, from yout point of view, wa can not reference an assembly registred
in the gac in a client application ?

Gilles



*** Sent via Developersdex http://www.developersdex.com ***
Phil Wilson
2/8/2005 6:42:18 AM
You might be assuming that Visual Studio design-time references are related
to the GAC - they're not, they use the SDK versions of the assemblies. I
think you're getting design and build mixed up with deployment. The GAC is
where you deploy assemblies to make them visible to all apps on the system.
So yes, your client application can run and use assemblies deployed in the
GAC. That doesn't mean that those assemblies need to be in the GAC when you
build the client application.
--
Phil Wilson
[Microsoft MVP-Windows Installer]
Definitive Guide to Windows Installer
http://apress.com/book/bookDisplay.html?bID=280

[quoted text, click to view]

Mattias Sjögren
2/8/2005 11:30:19 AM

[quoted text, click to view]

Better than?


[quoted text, click to view]

You simply don't.



Mattias

--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
AddThis Social Bookmark Button