Can we specify where the *.VC.db files are saved?

寵の児 提交于 2019-12-14 03:46:44

问题


This question explained what the *.VC.db files are:

What is the *.VC.db file in Visual Studio projects?

Now I would like to know how to specify which folder that those files are put into, or make them hidden.

I regularly make a backup of my source and project files, and I don't want to waste my time and disk space backing up temporary files.

In one folder, I have a few projects that add up to 150 kB, and the two VC.db files are 84 MB.

Isn't there some way to specify where the VC.db files are placed, as we can do with the object files?


回答1:


I just discovered that the way to set the folder for the *.VC.DB files is the same as for the IPCH files, as described here:

How to change ipch path in Visual Studio 2010

I also specified a folder for the "fallback location" rather than leave it blank, which sends the files to whatever you have set for your %TEMP% folder.



来源:https://stackoverflow.com/questions/36509516/can-we-specify-where-the-vc-db-files-are-saved

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!