MonoDevelop Failure “Unknown MSBuild Failure” on L

2019-04-14 23:53发布

I just installed MonoDevelop on my Ubuntu machine, and attemtepted to run a hello world, just to test it out:

using System;

public class HelloWorld
{
    static public void Main ()
    {
        Console.WriteLine ("Hello Mono World");
    }
}

...but when building it gives an "Unknown MSBuild failure" error

I have tested Mono before using MonoDevelop and verified that it works.

2条回答
成全新的幸福
2楼-- · 2019-04-15 00:39

This is most likely due to an error or errors during compilation, which oddly enough, MonoDevelop is not telling you.

Assuming you have mono itself installed, open a terminal and compile from there(source):

mcs HelloWorld.cs
查看更多
啃猪蹄的小仙女
3楼-- · 2019-04-15 00:43

I have had similar issue with a project that used to work - it seems error is in the package NUnit, however I have not yet found a solution for it - have a look at your packages, perhaps you find your issue there

查看更多
登录 后发表回答