今天使用VS2008編譯項目時報錯:
The OutputPath property is not set for this project. Please check to make sure that you have specified a valid Configuration/Platform combination. Configuration='Debug' Platform='x86'
解決辦法如下:
1.選中編譯失敗的項目,右鍵點擊卸載項目
2.選中卸載后的項目,右鍵點擊編輯項目
3.對比生成成功的項目與編譯失敗項目的 PropertyGroup Condition=" '$(Configuration)|$(Platform)' 節點,並修改。
4.保存修改后,重新加載項目,生成成功。