Hi,
I am using Visual WebDeveloper 2005 Express Edition and am having trouble using a C# class file
I am using
<% @Import Namespace="CEma il" %>
and the class file is name CEmail.cs and is saved in the App_Code folder of my project.
The file builds ok locally and all is working, but as soon as I upload the project to another server, i get the message:
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS0246: The type or namespace name 'CEmail' could not be found (are you missing a using directive or an assembly reference?)
Source Error:
Line 12: <% @Import namespace="Syst em.Web.UI.HtmlC ontrols" %>
Line 13:
Line 14: <% @Import Namespace="CEma il" %>
Can someone please tell me what I am doing wrong.
Thanks in advance!
Natalie.
I am using Visual WebDeveloper 2005 Express Edition and am having trouble using a C# class file
I am using
<% @Import Namespace="CEma il" %>
and the class file is name CEmail.cs and is saved in the App_Code folder of my project.
The file builds ok locally and all is working, but as soon as I upload the project to another server, i get the message:
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS0246: The type or namespace name 'CEmail' could not be found (are you missing a using directive or an assembly reference?)
Source Error:
Line 12: <% @Import namespace="Syst em.Web.UI.HtmlC ontrols" %>
Line 13:
Line 14: <% @Import Namespace="CEma il" %>
Can someone please tell me what I am doing wrong.
Thanks in advance!
Natalie.
Comment