开发者

How to create a solution only from .aspx and .aspx.cs files in asp.net/c#

开发者 https://www.devze.com 2023-02-16 02:22 出处:网络
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.

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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号