vs2013工程下的各个文件和文件夹的作用

1 ipch文件夹

用来加速编译,里面存放的是precompiled headers,即预编译好了的头文件。

头文件也是需要编译的,比如需要处理#ifdef,需要替换宏以及需要include其它头文件。

将一些常用的但是不经常修改的头文件编译好放在一个文件中,后面的编译就直接用这个头文件而不用重新编译。

2 sdf文件和opensdf文件

sdf文件是vs用于intellisense的。

https://msdn.microsoft.com/zh-cn/library/hcw1s69b.aspx

2.1 list class members

鼠标放在某个class上,会自动显示这个class有哪些members。

2.2 显示某个函数的完整参数信息,这样方便自己编码

2.3 自动完成单词

3 sln文件

解决方案文件。

4 suo文件

https://shemeerns.com/2014/04/04/the-solution-user-options-suo-file-in-visual-studio/

What is Solution User Options (.suo) file

The solution user options (.suo) file is a structured storage, or compound, file stored in a binary format. This file is used to store user preference settings, and is created automatically when Visual Studio saves a solution.

Location of .suo file

The .suo file will be saved in the folder where your Solution (.sln) file exists. You might wanted to set true for “Show Hidden Files and Folder” in “Folder Options” as .suo file is default by hidden.

What informations are saved in my .suo file

This file is used by Visual Studio to store user/solution specific information such as Opened Files, Expanded Nodes in the Solution Explorer, Opened Tool Windows and its Positions, User Tasks, Breakpoints, Start-up Project, Contents of Watch window, Whether the project is loaded/unloaded  etc. The same file is used by Visual Studio Addins (VSPackages) to persist information that are specific to that solution/user.

.suo file and Source Control

Adding user specific information to source control is not a good idea. Most of the code versioning control ignores .suo file by default. If included, the developer, who checks out the latest .suo file, will loose all his personal settings which is stored in the local .suo file.

Visual Studio performance and .suo file

If the size of .suo file is too large then it can affect the performance of Visual Studio. Deleting the .suo file will boost the performance.

Deleting .suo file

Visual Studio creates a new file with the .suo file extension as soon as you open again the solution. But once the file with the .suo file extension is deleted, any of your existing solution user-specific settings will be lost.

转载于:https://www.cnblogs.com/hustdc/p/6536840.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值