Precompiled header and Visual Studio
问题 Is there a way to set Visual Studio solution parameters so it just create precompiled headers without building whole solution. Specifically, it is a huge c++ solution with many projects in itself. Thank you. 回答1: Only select the pch creator source file (usually stdafx.cpp), and compile that (Ctrl-F7, or right-click it and select 'Compile') More info since it doesn't seem to be working for you: In every project that uses a precompiled header, there is one source file that is used to create the