Home All Groups Group Topic Archive Search About

assembly in GAC doesn't work

Author
8 Feb 2006 9:15 AM
Filip De Backer
Hi everyone,

I've created a shared assembly and istalled it to the windows\assembly folder.
I see the assembly in the list of all the other assemblies.

But in Visual Studio 2005, when I want to add a reference, this assembly
isn't in the list with .NET assemblies. What is the cause of this problem?

thanks!

Filip

Author
8 Feb 2006 9:33 AM
Clive Dixon
It is not a problem. You simply cannot reference an assembly in the GAC.

Show quote
"Filip De Backer" <filip_de_bac***@hotmail.com.(donotspam)> wrote in message
news:4696FAFA-3697-4A0E-9EAA-63ABC9315EA3@microsoft.com...
> Hi everyone,
>
> I've created a shared assembly and istalled it to the windows\assembly
> folder.
> I see the assembly in the list of all the other assemblies.
>
> But in Visual Studio 2005, when I want to add a reference, this assembly
> isn't in the list with .NET assemblies. What is the cause of this problem?
>
> thanks!
>
> Filip
Author
8 Feb 2006 9:51 AM
Filip De Backer
But how can I use it?
In code the namespace is LessiusSecurity and the class is LessiusSecurity
In the assembly folder, there is LessiusSecurity.

But using LessiusSecurity raises an error


Show quote
"Clive Dixon" wrote:

> It is not a problem. You simply cannot reference an assembly in the GAC.
>
> "Filip De Backer" <filip_de_bac***@hotmail.com.(donotspam)> wrote in message
> news:4696FAFA-3697-4A0E-9EAA-63ABC9315EA3@microsoft.com...
> > Hi everyone,
> >
> > I've created a shared assembly and istalled it to the windows\assembly
> > folder.
> > I see the assembly in the list of all the other assemblies.
> >
> > But in Visual Studio 2005, when I want to add a reference, this assembly
> > isn't in the list with .NET assemblies. What is the cause of this problem?
> >
> > thanks!
> >
> > Filip
>
>
>
Author
8 Feb 2006 10:10 AM
Filip De Backer
<assemblies>
    <add assembly="System.DirectoryServices, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
    <add assembly="LessiusSecurity, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=725360f26e731583"/>
</assemblies>

AddThis Social Bookmark Button