简体   繁体   中英

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.

\\WebSiteName\\ \\WebSiteName(2)\\

In my VS solution explorer it only shows as a Web Site project, no solution file above it. Is there a way I can stop VS creating the solution file when all I want is a web site? Or is it something VS needs?

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.

Yes, it always needs a SLN file. Even if not used. If you open a project file it will create a blank/temp container solution.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM