Visual Studio 2008調試程序時提示"生成“cmd.exe”時出錯".
------ 已啓動生成: 項目: bstore, 配置: Debug Win32 ------
正在編譯資源清單...
正在鏈接...
正在嵌入清單...
項目 : error PRJ0003 : 生成“cmd.exe”時出錯。
生成日誌保存在“file://e:\來自C盤\我的文檔\Visual Studio 2008
\Projects\bstore\bstore\Debug\BuildLog.htm”
first - 1 個錯誤,0 個警告
========== 生成: 0 已成功, 1 已失敗, 0 最新, 0 已跳過 ==========
直接Visual Studio 2008中進行如下設置:
tools= > Options = > Projects and Solutions - > VC++ Directories page
把$(PATH)改成:$(SystemRoot)\System32;$(SystemRoot) ;$(SystemRoot)\System32\wbem
------ 已啓動生成: 項目: bstore, 配置: Debug Win32 ------
正在嵌入清單...
生成日誌保存在“file://e:\來自C盤\我的文檔\Visual Studio 2008
\Projects\bstore\bstore\Debug\BuildLog.htm”
0727 - 0 個錯誤,0 個警告
========== 生成: 1 已成功, 0 已失敗, 0 最新, 0 已跳過 ==========