VS2010中的sln,suo分别是什么文件

相当于VC6里的.dsw和.dsp

.Net解决方案下 .sln文件和.suo文件的解释:

When a Web site is created, a solution file (.sln) and a hidden solution user options file (.suo) are created. By

default, these files are created in the My DocumentsVisual Studio 2005Projects folder. bcoz they are not required in

the deployed website.

SLN ( own's the following details):

* A list of the projects that are to be loaded into Visual Studio 2005
* A list of project dependencies
* Microsoft Visual SourceSafe information
* A list of add-ins that are available

SUO ( own's the following files):

* The task list
* Debugger break points and watch window settings
* Visual Studio window locations

Visual Studio.NET采用两种文件类型(.sln和.suo)来存储特定于解决方案的设置,它们总称为解决方案文件。为解决方案资源管理器提供显示管理文件的图形接口所需的信息
从而在每次继续开发任务时,不会因开发环境而分散精力;

*.sln:(Visual Studio.Solution) 通过为环境提供对项目、项目项和解决方案项在磁盘上位置的引用,可将它们组织到解决方案中。
比如是生成Debug模式,还是Release模式,是通用CPU还是专用的等

*.suo: (solution user opertion) 解决方案用户选项记录所有将与解决方案建立关联的选项,
以便在每次打开时,它都包含您所做的自定义设置。

.suo是solution user option的缩写,它是很重要的文件,它储存了用户界面的自定义配置,包括布局、断点和项目最后编译的而又没有关掉的文件(下次打开时用)等,以便于下一次你打开Visual Studio可以恢复这些设置,因此不要随便删除也无法删除,况且它们就是隐藏文件,所以不要管它们。 其实上面英文中解释已经很清楚了,要申明的是PDB中不带断点信息
原文地址:https://www.cnblogs.com/sdusrz/p/3921226.html