[英]Visual Studio 2008 New Web site always creates a solution folder
Every time I create anew Web site project in VS it creates another folder for a solution file. 每次我在VS中创建一个新的网站项目时,它都会为解决方案文件创建另一个文件夹。
\\WebSiteName\\ \\WebSiteName(2)\\ \\ WebSiteName \\ \\ WebSiteName(2)\\
In my VS solution explorer it only shows as a Web Site project, no solution file above it. 在我的VS解决方案资源管理器中,它仅显示为网站项目,其上方没有解决方案文件。 Is there a way I can stop VS creating the solution file when all I want is a web site?
当我只需要一个网站时,有什么方法可以停止VS创建解决方案文件吗? Or is it something VS needs?
还是VS需要它?
The option not to create the solution folder is only available when using New Project. 仅在使用“新建项目”时,不创建解决方案文件夹的选项才可用。 New Website always assumes you want a solution folder and by design is working correctly.
新网站始终假定您需要解决方案文件夹,并且设计正常。 If you don't want the folder then use New Project.
如果您不希望使用该文件夹,请使用“新建项目”。
Visual Studio however does always require a solution file. 但是,Visual Studio始终需要解决方案文件。
Yes, it always needs a SLN file. 是的,它始终需要一个SLN文件。 Even if not used.
即使不使用。 If you open a project file it will create a blank/temp container solution.
如果打开项目文件,它将创建一个空白/临时容器解决方案。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.