MonoDevelop Error: Unknown MSBuild crash. Try to create a project again

MonoDevelop has just been installed, and I tried to compile a simple "Hello World". The code I use is:

using System;

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

The error I am getting is:

EmptyCSharpFile.csproj(1,1): Error: Unknown MSBuild failure. Please try building the project again (EmptyCSharpFile)

Error message

My system info: Ubuntu 16.04 LTS, updated MonoDevelop and mono only recently installed. Mono JIT compiler version 5.0.1.1 MonoDevelop version 5.10 I can use mcs and run it, but I can not use monodevelop to run it. I read these similar topics, but no answer yet: MonoDevelop Error and "Unknown MSBuild Error" on Linux ; C # compilation Unknown error MSBuild MonoDevelop Linux ; https://askubuntu.com/questions/73630/could-not-obtain-c-compiler-error-when-using-monodevelop

+4
1

, , , file → new- > file- > general → empty#.

- > - > , # Ctrl + Shift + N , hello world, , ( )

+1

Source: https://habr.com/ru/post/1678216/


All Articles