Last post Jun 14, 2015 08:37 PM by mostafasydney
Jun 12, 2015 07:53 PM|gianelos21|LINK
A simple question.
1) I have one WebApplication1 with one page Home.aspx and one folder MyClasses wich contains MyItem.cs class(Property: Build Action -> Compile).
On Page_Load i create an instance of object.
When i RUN it local everything ok.
When I deploy the WebApp on server there is the error: The type or namespace name 'MyItem' does not exist in the namespace 'WebApplication1 ' (are you missing an assembly reference?)
I have to say that the way for deploying to server is just a right click on WebApplication1 -> Sent to -> Compressed folder and upload to server.
Could you tell me what am i doing wrong...
Jun 14, 2015 08:37 PM|mostafasydney|LINK
If your classes are in a different project (you mentioned in one folder), then you need to add the reference for the class project in your
The error is due to it is missing MyItem.cs because it may not have been referenced.
could you please check that and deploy it again.