Can I set the platform toolset from the command line when building with VS2010's msbuild?

后端 未结 4 418
生来不讨喜
生来不讨喜 2020-12-14 21:27

When I\'m building a VS2010 with msbuild from the command line, can I change the platform toolset to v90 (i.e. Visual Studio 2008 toolchain) from the command line, without e

4条回答
  •  忘掉有多难
    2020-12-14 22:08

    I found the answer in MSDN:

    To rebuild your project with the Visual C++ 9.0 toolset, type either of the following commands:

    msbuild myproject.vcxproj /p:PlatformToolset=v90 /t:rebuild

提交回复
热议问题