Hello,
I am having difficulty getting a C# class to compile- i get the following error:
"The type or namespace name 'Web' does not exist in the class or namespace 'Microsoft' (are you missing an assembly reference?)"
in my code i have:
using Microsoft.Web.UI.WebControls;
so i assume its refering to that. I can however get my code to compile in an aspx file in the following way:
"<%@ Register TagPrefix="IE" Namespace="Microsoft.Web.UI.WebControls" Assembly="Microsoft.Web.UI.WebControls, Version=1.0.2.226, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>"
How do i get my class to compile, do I need to set a reference when using the csc compiler??
Neil
PS I'm not using Visual Studio so I can't set the reference in there.
I am having difficulty getting a C# class to compile- i get the following error:
"The type or namespace name 'Web' does not exist in the class or namespace 'Microsoft' (are you missing an assembly reference?)"
in my code i have:
using Microsoft.Web.UI.WebControls;
so i assume its refering to that. I can however get my code to compile in an aspx file in the following way:
"<%@ Register TagPrefix="IE" Namespace="Microsoft.Web.UI.WebControls" Assembly="Microsoft.Web.UI.WebControls, Version=1.0.2.226, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>"
How do i get my class to compile, do I need to set a reference when using the csc compiler??
Neil
PS I'm not using Visual Studio so I can't set the reference in there.