Now this is strange...!
Tech-Archive recommends: Speed Up your PC by fixing your registry
Hi!
I just upgraded my .NET Framework from v1.1 to v2.0 (and uninstalled
v1.1).
I have compilled my assembly with the v2.0 compiler and uploaded it to
my web-server - which runs on v1.1. Now I get the following error:
------------------------------------------------------------------------------------------------------
Compiler Error Message: CS0234: The type or namespace name 'BandSite'
does not exist in the class or namespace 'TobySoft' (are you missing an
assembly reference?)
Source Error:
Line 1: <%@ Page Language="C#" %>
Line 2: <%@ Import Namespace="TobySoft.BandSite.Users" %>
Line 3: <script runat="server">
Line 4:
------------------------------------------------------------------------------------------------------
Is this a compatibility problem between v2.0 and v1.1?
How do I solve it?
Thanks!!
Tobias
.
Relevant Pages
- Very strange problem with namespace
... reference that is returned by an iterator. ... No matter what, the compiler ... contains item_proxy as an inner class) is not defined in namespace N, ... // without putting ContainerFront into namespace N ... (microsoft.public.vc.language) - Re: How to fix awkward ATL namespace clash?
... Renaming my own namespace doesn't work because I'm not getting a namespace ... I'm getting an Interface collision. ... By the time the compiler parses my typelib the OLEDB IAccessor ... (microsoft.public.vc.atl) - Re: Python doesnt know class of function ? : class C:def f():pass;l=[f]; print C.l[0].im_class
... So, when iterating the list in my test compiler, i need to know if the ... I think when python compiles the TG class, ... testA thing is in class TG namespace ... or so to the class namespace locals(). ... (comp.lang.python) - Re: Delphi - What needs looking at in .NET, and ok the namespaces again
... The namespace issues could be solved very easy and in an elegant way, ... that there should be no need to reference the RTL lib without using anything from it on purpose. ... Also there should be a compiler switch which enables or disables things like the creation of meta classes for every class, and it should be switched off by default. ... a new Delphi.Net package w/o any Delphi specific RTL stuff will have no reference on a specific RTL lib. ... (borland.public.delphi.non-technical) - Re: How to understand the use of namespaces ...
... It's John. ... foobar theFoo = new foobar; ... you get a compiler exception: ... To reference bar.foobar you would have to use the full namespace, ... (microsoft.public.dotnet.languages.csharp) |
|