我有一个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