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:

Main application folder

And this is the App_Code folder:

App's 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:

Solution Explorer Window

DECIDED

The server compiles the code automatically on startup.

Thanks @ Ňuf

+3


source to share


1 answer


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.



+2


source







All Articles