I’m using Ubuntu 20.04.01. When i try to launch mgcb-editor this error occurs:
Unhandled exception. System.TypeInitializationException: The type initializer for 'MonoGame.Tools.Pipeline.Global' threw an exception.
---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> System.IO.FileNotFoundException: Could not load file or assembly 'System.Diagnostics.StackTrace, Version=4.1.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
File name: 'System.Diagnostics.StackTrace, Version=4.1.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
at Eto.Drawing.Bitmap.FromResource(String resourceName, Assembly assembly)
at MonoGame.Tools.Pipeline.Global..cctor()
--- End of inner exception stack trace ---
at MonoGame.Tools.Pipeline.Styles.<>c.<Load>b__9_0(ApplicationHandler h)
at Eto.Style.<>c__DisplayClass13_0`1.<Add>b__0(THandler w)
at Eto.DefaultStyleProvider.<>c__DisplayClass9_0`1.<Add>b__0(Object widget)
at Eto.DefaultStyleProvider.ApplyStyles(Object widget, String style)
at Eto.DefaultStyleProvider.Eto.IStyleProvider.ApplyStyle(Object widget, String style)
at Eto.Widget.OnStyleChanged(EventArgs e)
at Eto.Widget.set_Style(String value)
at MonoGame.Tools.Pipeline.Program.CommandLineInterface.Run(InvocationContext context, String project)
at MonoGame.Tools.Pipeline.Utilities.CommandLineParser.<>c__DisplayClass2_1.<.ctor>b__1()
at MonoGame.Tools.Pipeline.Utilities.CommandLineParser.Invoke(String[] args)
at MonoGame.Tools.Pipeline.Program.Main(String[] args)
Also VS Code IntellliSense doesn’t work when i run dotnet run i can see the window.