[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.setup

how to register assembly in global assembly cache successfully?

thalion77

7/9/2007 3:57:00 PM

Hello there,

I've got a setup project in Visual Studio, where I want to install an
assemby into global assembly cache. That's quite easy: The folder
property must be "cache folder for global assembly".

After installing my assembly, it can be found in the Microsoft .NET
FrameWork Configuration, but it's impossible to find the assemby in
the list of the .NET tab (Project/Add Reference/.NET) while trying to
add a refererence to it in any .NET project. What may be the problem?

What must be set in the setup to register assembly that way, that it
can be easily selected as a reference in any .NET project?

Regards,
Norbert

2 Answers

Phil Wilson

7/9/2007 6:25:00 PM

0

Visual Studio doesn't look in the GAC for assemblies to reference. The GAC
is a deployment choice for applications, not a repository for development
references. If you're installing it into the GAC simply for developers to
reference, don't bother.

http://blogs.msdn.com/csharpfaq/archive/2004/10/20/2...

http://www.mztools.com/Articles/2007...

--
Phil Wilson
[MVP Windows Installer]


<thalion77@graffiti.net> wrote in message
news:1183996594.054380.197250@c77g2000hse.googlegroups.com...
> Hello there,
>
> I've got a setup project in Visual Studio, where I want to install an
> assemby into global assembly cache. That's quite easy: The folder
> property must be "cache folder for global assembly".
>
> After installing my assembly, it can be found in the Microsoft .NET
> FrameWork Configuration, but it's impossible to find the assemby in
> the list of the .NET tab (Project/Add Reference/.NET) while trying to
> add a refererence to it in any .NET project. What may be the problem?
>
> What must be set in the setup to register assembly that way, that it
> can be easily selected as a reference in any .NET project?
>
> Regards,
> Norbert
>


thalion77

7/10/2007 7:17:00 AM

0

Thank you very much for the helpful answer.

Kind regards,
Norbert