Visual Studio: How to change ipch path in Visual Studio 2010 (.sdf, *.opensdf, ...)

Link:

http://stackoverflow.com/questions/4315681/how-to-change-ipch-path-in-visual-studio-2010

引用:

The ipch folder is created by the IntelliSense system and it's location cannot be changed on a per-solution basis. However, you can have VS 2010 store all of your projects' ipch folders in your %TEMP%\VC++ folder. Select Tools > Options > Text Editor > C/C++ > Advanced. Once there, you'll see a Fallback Location section. Change Always Use Fallback Location to True. Leave Fallback Location blank and it will put them in your %TEMP% folder. Once you've changed that, you can remove your ipch folder and your *.sdf & *.opensdf files. They will be recreated in the fall-back location. Note, you may want to backup those files if you're picky about the window layout, etc for the project.

你可能感兴趣的:(change)