I have several small Visual Studio Projects (C++). And many of these projects have .ncb and .pch extension files. Those files are quite big, and they are consuming a lot of space (over 100 mb).
What are these files?
If those files are not that important can I delete them? Can I stop them from being created?
PCH is the precompiled headers file. It's a temporary that you can safely delete. You can disable its creation through Project Settings > C++ > Precompiled Headers > Don't use precompiled headers and removing the stdafx.cpp file from your project.
NCB is the database used by IntelliSense to allow you to browse the symbols defined in your project, including the inline hints and auto completion as you type. You can safely delete it. There is an option to disable IntelliSense too.
However, both features may be useful; therefore you may not want to disable them. If you worry about the size of the backups or sending the projects to some other programmer, then you can just clean the project by removing said files.
pch = pre-compiled header
ncb = non-compiled browse
The files are pretty important if you want to use the features they support. Not using pre-compiled headers will get rid of the first one. Don't know about the code browse support.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With