Re: Import directive error
From: amallik (amallik_at_discussions.microsoft.com)
Date: 09/14/04
- Next message: news: ".NET and Applications"
- Previous message: Patrice: "Re: unique browser session"
- Next in thread: Girish Bharadwaj: "Re: Import directive error"
- Reply: Girish Bharadwaj: "Re: Import directive error"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 14 Sep 2004 01:15:03 -0700
How do you add an "assembly reference" in a *.aspx file?
<%@ Assembly %> does not solve the problem.
"Shiva" wrote:
> Hi,
> Use the <%@ Assembly %> directive.
>
> "Sharon Tal" <talsharon@hotmail.com> wrote in message
> news:OMrj5d1iEHA.2340@TK2MSFTNGP11.phx.gbl...
> Hi Raghavendra and thanks for your reply.
> How do i add a reference to aspx page.
> I know how to do it with csc.exe, but this is a web page.
> I'm not working with Visual Studio.
> Thanks.
>
> "Raghavendra T V" <raagzvb@hotmail.com> wrote in message
> news:%23sKhE80iEHA.2544@TK2MSFTNGP10.phx.gbl...
> > Hi Sharon,
> >
> > Make sure you have added reference to the System.Runtime.Remoting.dll.
> > If you have added and still getting this error i suggest you to remove the
> > reference and then add it again.
> >
> > Hope this helps you.
> >
> > Thanks
> > Raghavendra
> >
> > "Sharon Tal" <talsharon@hotmail.com> wrote in message
> > news:O%23AZo10iEHA.704@TK2MSFTNGP09.phx.gbl...
> > > Compiler Error Message: CS0234: The type or namespace name 'Http' does
> not
> > > exist in the class or namespace 'System.Runtime.Remoting.Channels' (are
> > you
> > > missing an assembly reference?)
> > >
> > > Source Error:
> > >
> > >
> > > Line 2: <%@ Import Namespace="System.Runtime.Remoting" %>
> > > Line 3: <%@ Import Namespace="System.Runtime.Remoting.Channels" %>
> > > Line 4: <%@ Import Namespace="System.Runtime.Remoting.Channels.Http" %>
> > > Line 5:
> > > Line 6: <%@ Page Language="C#" AutoEventWireup="True" %>
> > >
> > >
> > > Any ideas?
> > > 10x, Sharon.
> > >
> > >
> >
> >
>
>
>
>
- Next message: news: ".NET and Applications"
- Previous message: Patrice: "Re: unique browser session"
- Next in thread: Girish Bharadwaj: "Re: Import directive error"
- Reply: Girish Bharadwaj: "Re: Import directive error"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|