Quantcast
Channel: Visual Studio and Visual Web Developer Express
Viewing all articles
Browse latest Browse all 3509

WebApp deploy to server

$
0
0

Goodmorning...

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. 

Nothing else.

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...

thnx


Viewing all articles
Browse latest Browse all 3509


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>