Re: Import directive error
From: Girish Bharadwaj (girishb_at_mvps.org)
Date: 09/14/04
- Next message: Reza Solouki: "Re: find a row in a dataset?"
- Previous message: Girish Bharadwaj: "Re: Forms Authentication problem"
- In reply to: amallik: "Re: Import directive error"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 14 Sep 2004 09:10:39 -0400
Help :
ms-help://MS.VSCC.2003/MS.MSDNQTR.2003FEB.1033/cpgenref/html/cpconassembly.h
tm
<%@ Assembly Name="MyAssembly" %>
Or, you can use the web.config to add the directive as well.See MSDN for
more help.
-- Girish Bharadwaj http://msmvps.com/gbvb "amallik" <amallik@discussions.microsoft.com> wrote in message news:462580E2-060F-478A-B551-9D3AD93AACC9@microsoft.com... > 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: Reza Solouki: "Re: find a row in a dataset?"
- Previous message: Girish Bharadwaj: "Re: Forms Authentication problem"
- In reply to: amallik: "Re: Import directive error"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|