Importing an assembly?
- From: "Ebbe Kristensen" <ebbe@xxxxxxxxxxx>
- Date: Tue, 14 Nov 2006 11:10:05 +0100
Hi All
I am trying to get access to an assembly in an ASPX project. I have added
the assembly to GAC using gacutil and added an "%@Import namespace =
"MyNamespace" %" to the .aspx file but this is seemingly not enough since
the using directive in the .aspx.cs file gives the error:
"The type or namespace name "MyNamespace" could not be found (are you
missing a using directive or an assembly reference?)"
Erm, it's the using directive is there. It just fails to compile - and what
on earth is an assembly reference?
More generally, where (and how) can I find the information on how to do
this?
BTW, is your opinion on the Visual Studio help system as low as mine? I find
it virtually impossible to find any information on how to do tasks. Google
is usually much better although in this case it has failed me as well.
Ebbe
.
- Follow-Ups:
- Re: Importing an assembly?
- From: Laurent Bugnion
- Re: Importing an assembly?
- Prev by Date: Re: Problem deploying ASP.NET 2.0 application. Access denied and so on
- Next by Date: Re: Importing an assembly?
- Previous by thread: Re: Problem deploying ASP.NET 2.0 application. Access denied and so on
- Next by thread: Re: Importing an assembly?
- Index(es):
Relevant Pages
|
Loading