XBuild报告了太多项目文件,但与MSBuild一起使用

时间:2015-08-26 07:40:33

标签: msbuild xbuild

我正在运行以下msbuild命令

  

msbuild / verbosity:normal / property:configuration =“Release”   /property:VisualStudioVersion="12.0“/ m / property:RunOctoPack =”true“   / property:OctoPackEnforceAddingFiles =“true”/ target:“Clean”../ MYSLN.sln

成功构建。

我刚尝试在OSX上使用xbuild运行相同的命令,所以:

  

xbuild / verbosity:normal / property:configuration =“Release”   /property:VisualStudioVersion="12.0“/ m / property:RunOctoPack =”true“   / property:OctoPackEnforceAddingFiles =“true”/ target:“Clean”../ MYSLN.sln

报告

  

MSBUILD:错误MSBUILD0004:指定的项目文件太多

我有XBuild Engine Version 12.0和Mono,Version 4.0.2.0

我如何列出参数

是否存在一些微妙的错误

---- ---- EDIT

这被抛到这里:https://github.com/mono/mono/blob/master/mcs/tools/xbuild/Parameters.cs#L140表明xbuild没有拿起解决方案文件(我认为)

注意,我已尝试将解决方案文件作为第一个也是最后一个参数无效

---- ---- EDIT

我已经添加了解决方案文件的大写名称,以防重要。

---- ---- EDIT

啊,我一直在围绕他们的参数解析代码编写一个测试而且它没有识别/ m

0 个答案:

没有答案