I need to send the solution which consists of 2 projects by email. Can I delete ipch folder?
-
1Should be safe, so yes! The folder and the files in there will be regenerated when building the solution. See http://social.msdn.microsoft.com/Forums/en/vcgeneral/thread/1ef46540-e4b8-4779-8403-49239bc3f7ee – Niko May 31 '12 at 13:23
4 Answers
Yes, that's the folder used by the IntelliSense parser to store precompiled header files. It will be rebuilt on the receiver's machine. More in this answer. Use Build + Clean to avoid having to look at too many of them.

- 1
- 1

- 922,412
- 146
- 1,693
- 2,536
There is an answer in the MSDN support forums:
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. In the solution folder delete all bin, obj, ipch, debug and release directories.
Delete any .suo files
Delete any .user files
Delete any .ncb files
Delete any .sbr files
Delete any .*log files (for VS 2010)
Zip up the entire solution directory for submission. This ensures that the solution and project structure remain intact.
The answer link: Is it safe to delete "ipch" folder - Pre-compiled headers

- 383
- 1
- 4
- 13
As mentioned here: How to change ipch path in Visual Studio 2012 Change to "always use fallback location" in this way this directory does not get created inside your solution but the system temp directory is used. This worked for me.
You can delete these files with this simple windows command:
project_folder> del *.log *.ipch *.suo *.user *.ncb *.sbr *.vc.db *.obj /s /q

- 8,670
- 28
- 113
- 206