gpt4 book ai didi

visual-studio-2010 - 删除 "ipch"文件夹 - 预编译头是否安全?

转载 作者:行者123 更新时间:2023-12-03 05:40:47 28 4
gpt4 key购买 nike

我在文件夹中查找我正在处理的应用程序,并注意到“ipch”文件夹,我的解决方案有两个小项目,大小约为 90mb 以上。

我找到了一篇讨论这些文件用途的文章,想知道删除它们是否安全?我希望应用程序的占用空间尽可能小。如果我删除该文件夹,应用程序是否会保持安全稳定的状态?

Pre-Compiled Headers

最佳答案

设法从 MSDN 支持论坛找到了非常有用的答案:

I'm not only a C# moderator but also a C++ user :} The ipch directory and the many, many new files generated by the compiler can be safely deleted. In fact they should be deleted (and probably are) for clean builds. I teach a C++ college class myself and here is what I require my students to do.

1.In the solution folder delete all bin, obj, ipch, debug and release directories.

2.Delete any .suo files

3.Delete any .user files

4.Delete any .ncb files

5.Delete any .sbr files

6.Delete any .*log files (for VS 2010)

按照给定的步骤,我没有遇到任何问题。

(Source and original post)

更新:

raphinesse还链接到 question其中指出 .SDF 文件也可以安全删除。

关于visual-studio-2010 - 删除 "ipch"文件夹 - 预编译头是否安全?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2757402/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com