如何在 Visual Studio 2012 中更改 ipch 路径 [英] How to change ipch path in Visual Studio 2012
问题描述
我看到 VS2012 在解决方案文件夹中创建了一些文件(.sdf、.suo、.ipch 等).是否可以更改创建这些文件的文件夹?
I saw that VS2012 creates some files in the solution folder(.sdf, .suo, .ipch, etc). Is it possible to change the folder where these files are created?
VS2010 的方法在 VS2012 中不起作用,请看截图:
The methods for VS2010 don't work in VS2012, see screenshot:
推荐答案
转到工具 -> 选项 -> 文本编辑器 ->C/C++ -> 高级
Go to Tools -> Options -> Text Editor -> C/C++ -> Advanced
在Fallback Location"中,将Always Use Fallback Location"设置为 True
和Do Not Warn If Fallback位置使用"到True
.在后备位置"中,您可以将其留空,VS 将使用您的 %TEMP%
文件夹,或者指定您选择的其他位置.
In the "Fallback Location", set "Always Use Fallback Location" to True
and "Do Not Warn If Fallback Location Used" to True
. In "Fallback Location" you can either leave it blank and VS will use your %TEMP%
folder, or specify a different location of your choice.
(请注意 .suo 文件仍将位于您的解决方案旁边)
(Note the .suo files will still sit next to your solutions)
这篇关于如何在 Visual Studio 2012 中更改 ipch 路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!