Bloated ipch and SDF files in vs2010

Source: Internet
Author: User

When using VS2010 to build a C + + solution, a solutionname.sdf and a folder called ipch are generated, and the two files, along with files such as *.PCH, make the project very large and a simple program consumes dozens of m of hard disk capacity. Unfortunately, after all, the hard drive is not cheap to the point of free.

So, how to solve it? can actually close it. Method:

Tools->options->text editor->c/c++->advanced->disable Database, set to True

However, this approach creates additional problems that may result in other functions being disabled. An exception is a workaround:

Tools->options->text editor->c/c++->advanced, in the attribute group of Fallback location, set "Always use Fallback location" to True, set the Warn If Fallback location used to true, then delete the SDF file and ipch directory under the solution directory and open the solution again and find that these annoying things are gone.

So where are those files placed? See "Fallback Location" Property Description: This is the second place to store the browse information database and the IntelliSense file, and if not specified, it is placed in a temporary directory; to the temporary directory, there is a VC + + directory, all in that directory.

In the "Fallback Location" property, set a fixed path to store these files, such as D:\VS2010Temp, it is also better to manage these huge bloated files, you can regularly clean them off, free up hard disk space!

Bloated ipch and SDF files in vs2010

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.