I have got .aspx and .aspx.cs files along with a web.config file; from these files I want to create a solution in order to run them as an ASP.NET website.
To be more precise, I downloaded the code snippet available on this site but could not get it to run.
How can I create a project/solution from these 开发者_如何学Cfiles which I can run locally?
Just open it as a Web site:
File -> Open -> Web Site... -> File system -> [Select the folder where you put those files]
Explanation: in terms of Visual Studio, Web Sites are folder-based projects (that is, there is no project file).
精彩评论