我有一個Visual Studio 2007的項目,我成功地與2010年。它說,它成功地建立VS升級,但在項目的默認構建設置導致「打造成功」的消息,有2個警告,狀態:如何在Visual Studio 2010中使用項目的默認構建設置?
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(990,5):
warning MSB8012: TargetPath(C:\MaxSDK-5.1.7\examples\plussz\.\..\..\sdk-build\plussz.dll)
does not match the Linker's OutputFile property value (C:\MaxSDK-5.1.7\sdk-build\plussz.mxe). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile).
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(991,5): warning MSB8012: TargetExt(.dll) does not match the Linker's OutputFile property value (.mxe). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile).
並且文件從不出現。此外,它試圖構建的文件具有擴展名.DLL,但它應該具有.mxo。
凡是允許我建立這個東西是一個很大的幫助,但我真正想要做的是輸出到項目文件夾(其中源),而不是我的用戶文件夾中。我假設這個項目有一些預先建立的設置。有沒有什麼方法可以使用這些,而不是全局變量visual studio使用?
它實際工作正常,我只是沒有看到它。感謝壽。 – jamesson 2012-01-08 02:14:01