1. 程式人生 > >VS修改專案名後出現的提示(warning MSB8028: The intermediate directory (Debug\) contains files shared from anoth)

VS修改專案名後出現的提示(warning MSB8028: The intermediate directory (Debug\) contains files shared from anoth)

VS2013中F2修改工程名後  會有如下提示:

1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppBuild.targets(388,5): warning MSB8028: The intermediate directory (Debug\) contains files shared from another project (Test.vcxproj).  This can lead to incorrect clean and rebuild behavior.

這句話的意思是在Debug目錄下 有另一個專案共享檔案 注意這裡的Debug目錄是工程檔案下目錄(Test\Debug),不是生成的執行檔案的目錄(..\Debug)  解決方案是手動刪除Debug資料夾  重建工程就可以了