无法在Linux中使用xbuild构建C#程序

时间:2018-02-17 17:23:15

标签: linux mono xbuild

我使用Ubuntu并且我正在试图下载一个应该构建的程序然后使用mono运行但是当我使用xbuild时它无法构建并在输出结束时返回一些错误:

Done building project "/home/user/osu/osu-resources/osu.Game.Resources/osu.Game.Resources.csproj".
    Task "MSBuild" execution -- FAILED
    Done building target "Build" in project "/home/user/osu/osu.sln".-- FAILED
Done building project "/home/user/osu/osu.sln".-- FAILED

Build FAILED.

Warnings:

/home/user/osu/osu.sln:  warning : Don't know how to handle GlobalSection ExtensibilityGlobals, Ignoring.

Errors:

/home/user/osu/osu.sln (default targets) ->
(Build target) ->
/home/user/osu/osu-framework/osu.Framework/osu.Framework.csproj (default targets) ->
/usr/lib/mono/xbuild/14.0/bin/Microsoft.CSharp.targets (CoreCompile target) ->

    /usr/lib/mono/xbuild/14.0/bin/Microsoft.CSharp.targets: error : Compiler crashed with code: 1.

     1 Warning(s)
     1 Error(s)

Time Elapsed 00:00:14.1112530

你知道是什么导致这个问题如何解决它?

0 个答案:

没有答案