开发者

Why does Visual Studio create a website Solution in the Project directory and the website in the Websites directory?

When creating a website in Visual Studio 2010 (I think 2008 had the same behavior): File > New Website, VS creates the solution files in the Projects directory and the website in the Websites directory. What is the purpose? Why not开发者_开发知识库 just create the solution files under the Websites directory?


The solution files just store a user's preference and is not required parts of a website. Microsoft does a very good job to separate them with a web site. You can delete the solution file but the web site still can be opened without problem.


Because you can add on the website solution more project on other directories.

Also its not good to place the solution to the website directory and make it public.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜