删除“ipch"是否安全?文件夹 - 预编译头文件? [英] Is it safe to delete the "ipch" folder - Precompiled headers?

查看:50
本文介绍了删除“ipch"是否安全?文件夹 - 预编译头文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在查看我正在处理的应用程序的文件夹,并注意到ipch"文件夹,对于我的解决方案,它有两个小项目,大小约为 90mb+.

I was looking through the folder for an application I am working on and noticed the "ipch" folder, for my solution which has two small projects it weighs in at about 90mb+ in size.

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

I have found an article discussing the use for the files and was wondering if they were safe to delete? I would like to keep the applications footprint as small as possible. If I were to delete the folder will the application remain in a safe and stable state?

预编译头

推荐答案

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

Managed to find a pretty informative answer from the MSDN support forums:

我不仅是 C# 版主,还是 C++ 用户 :} ipch 目录并且编译器生成的很多很多新文件可以安全地删除.事实上,它们应该被删除(并且可能是)为了干净建立.我自己教 C++ 大学课程,这就是我的要求我的学生要做.

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.在解决方案文件夹中删除所有bin、obj、ipch、debug和release目录.

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

2.删除任何.suo文件

2.Delete any .suo files

3.删除任何 .user 文件

3.Delete any .user files

4.删除任何.ncb文件

4.Delete any .ncb files

5.删除任何.sbr文件

5.Delete any .sbr files

6.删除任何 .*log 文件(对于 VS 2010)

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

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

I've had no issues following the given steps.

(来源和原始发布)

更新:

raphinesse 还链接到了一个 问题 指出 .SDF 文件也可以安全删除.

raphinesse has also linked to a question which states that the .SDF file can be removed safely as well.

这篇关于删除“ipch"是否安全?文件夹 - 预编译头文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆