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. Another workaround is to:
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.
You can set a fixed path in the "Fallback location" property to store these files, such as D:\VS2010Temp, which is also good for managing these bulky, bloated files that can be cleaned regularly and free of hard disk space.
———————————
The END