0
運行命令 的msbuild DevTools.Target/P:配置=調試/ P:平臺= 「Win32的」 失敗,錯誤的msbuild DevTools.Target/P:配置=調試/ P:平臺= 「Win32的」
Microsoft (R) Build Engine Version 4.0.30319.1
[Microsoft .NET Framework, Version 4.0.30319.225]
Copyright (C) Microsoft Corporation 2007. All rights reserved.
Build started 1/7/2014 2:24:12 PM.
Project "t:\DevTools.Target" on node 1 (default targets).
LoadInfo:
Built PROJECT as C:\XXX
Gathering Version information
IS BUILD MACHINE: false
Next Build # :
Will this run increment the build : yes
Project "t:\PROJECT\DevTools.Target" (1) is building "T:\solution.sln" (2) on node 1 (default targets).
T:\solution.sln.metaproj : error MSB4126: The specified solution configuration "|Debug|Win32" is invalid. Please specify a valid solution configuration using the Configuration and Platform properties (e.g. MSBuild.exe Solution.sln /p:Configuration=Debug /p:Platform="Any CPU") or leave those properties blank to use the default solution configuration.
Build FAILED.
Win32平臺上確實存在的解決方案,我能成功地從IDE生成解決方案
的是,這是傳遞給MSBuild的,而是它的目標(XML)文件不是普通的SLN文件。 如何強制msbuild在構建過程中使用「Win32」平臺?