Failing to build a C# program with xbuild in Linux

803 Views Asked by At

I use Ubuntu and I'm triying to download a program that is supposed to be built and then run with mono but when i use xbuild it fails to build and returns some errors at the end of the output:

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

Do you know what is causing this errorand how to solve it?

0

There are 0 best solutions below