Bonus tip:
If you have problem with MonoGame Template like it looks like it doesn’t work for building process - you need copy from /opt/MonoGameSDK/Assemblies/DesktopGL/**
to your Solution’s directory and make sure x86 and x64 and sometimes native libraries into “copy always” and make sure reference assembly both Microsoft.XNA.Frameworks.dll and Microsoft.XNA.Frameworks.Net.dll and create MyGame.cs write like same template of Visual Studio 2017 - MonoGame SDK or check github if it is same.than
Open Program.cs and replace it
using System;
namespace YourNameSpace { class MainClass { public static void Main(string[] args) { Console.WriteLine("Hello World!"); } } }
with this:
using System;
namespace YourNameSpace { static class Program { static int Main(string[] args) { using (var game = new MyGame()) { game.Run(); } return 0; } } }
And compile it and run it. Yeah MonoGame runs under Ubuntu…