Compile C # code on server
I am using a remote Windows VM to edit / develop a polling system. Using Microsoft Visual Web Developer 2010 Express as my IDE. I want to compile this project but the option is disabled. I'm not even sure if it should be compiled.
(A) Is it possible that this compiles at runtime?
(B) Is there a way to check if it works correctly?
This is the main folder:
And this is the App_Code folder:
When I have any file open, the option is Debug > Start Debugging (F5)
disabled and there are no other Compilation options. I've tried compiling everything as a folder and don't think it worked.
Thanks in advance.
~ EDIT ~
The Explorer Explorer window looks like this:
DECIDED
The server compiles the code automatically on startup.
Thanks @ Ňuf
source to share
I suspect you are missing a project file. If so, go to File-> New Project-> ASP.NET Web Application-> OK and then in Solution Explorer right click on the project-> Add-> Existing Item and select all files created earlier. to add them to your project. After that, the Debug-> Start debugging menu item should be available.
source to share