Hello, Posting here about one particuliar issue I have with the latest update of Monogame. I am unable to use the MGCB Editor in 3.8.3 on Linux.
Here are the steps to reproduce the issue :
- Starting a new DesktopGL project using the templates.
- Using CLI,
dotnet tool restoreto make sure the tooling is installed for this project - Checking
.config/dotnet-tools.jsonto be set as expected - Launching the command
dotnet mgcb-editorresult in the following error :
at System.Diagnostics.Process.ForkAndExecProcess(ProcessStartInfo startInfo, String resolvedFilename, String[] argv, String[] envp, String cwd, Boolean setCredentials, UInt32 userId, UInt32 groupId, UInt32[] groups, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean usesTerminal, Boolean throwOnNoExec)
at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo)
at MonoGame.Tools.Pipeline.Util.Run(String command, String arguments, String workingDirectory) in /home/runner/work/MonoGame/MonoGame/Tools/MonoGame.Content.Builder.Editor/Common/Util.cs:line 54
at MonoGame.Tools.Pipeline.PipelineController.RestoreMGCB() in /home/runner/work/MonoGame/MonoGame/Tools/MonoGame.Content.Builder.Editor/Common/PipelineController.cs:line 596
at MonoGame.Tools.Pipeline.PipelineController..ctor(IView view) in /home/runner/work/MonoGame/MonoGame/Tools/MonoGame.Content.Builder.Editor/Common/PipelineController.cs:line 139
at MonoGame.Tools.Pipeline.PipelineController.Create(IView view) in /home/runner/work/MonoGame/MonoGame/Tools/MonoGame.Content.Builder.Editor/Common/PipelineController.cs:line 147
at MonoGame.Tools.Pipeline.Program.Main(String[] args) in /home/runner/work/MonoGame/MonoGame/Tools/MonoGame.Content.Builder.Editor/Program.cs:line 51```
- Launching it again, the editor is showing, but any attempt at trying to run a build is resulting in another message :
```Build failed: An error occurred trying to start process '"/home/maxime/.local/share/mgcb-dotnet-tool/3.8.3.0/mgcb"' with working directory '/mnt/dev/projects/game/App1/Content'. No such file or directory```
- The folder `/home/maxime/.local/share/mgcb-dotnet-tool/3.8.3.0` is existing but empty
- Using the CLI `dotnet mgcb` is working as expected
I also tried with a local nuget package built from sources and got the same result.
Launching the executable from the compiled version leads to the same problem.