如何在 VS 中重建预编译头文件?
How can I rebuild precompiled headers in VS?
它是必需的,因为我删除了我的 .idb 文件并且错误消息告诉我重建预编译的头文件。
预编译头文件生成.pdb
文件,而根据documentation.idb
文件是:
The state file, containing dependency information between source files and class definitions, which can be used by the compiler during minimal rebuild and incremental compilation. Use the /Fd compiler option to specify the name of the .idb file. See /Gm (Enable Minimal Rebuild) for more information.
要重建项目,您可以转到 Main menu
-> Build
-> Rebuild
。要仅重建预编译头文件,您可以在 Solution Explorer
中为预编译头文件 .cpp
打开上下文菜单并选择 Compile
项。
它是必需的,因为我删除了我的 .idb 文件并且错误消息告诉我重建预编译的头文件。
预编译头文件生成.pdb
文件,而根据documentation.idb
文件是:
The state file, containing dependency information between source files and class definitions, which can be used by the compiler during minimal rebuild and incremental compilation. Use the /Fd compiler option to specify the name of the .idb file. See /Gm (Enable Minimal Rebuild) for more information.
要重建项目,您可以转到 Main menu
-> Build
-> Rebuild
。要仅重建预编译头文件,您可以在 Solution Explorer
中为预编译头文件 .cpp
打开上下文菜单并选择 Compile
项。