Build failed: mgcb is not in the search path!

Hello.


Can someone explain how to fix this issue?

How are you launching it?

You mean MGCB Editor? I create a label of MonoGame\Artifacts\MonoGame.Content.Builder.Editor\Wpf\x64\Debug\mgcb-editor-wpf.exe and place it in folder near my project.

Oh well…figured out…
Sorry for spamming.
I just leave there a solution that help me.

  1. Install mgcb as .net core tool, if there is error try to use concrete version dotnet tool install --global dotnet-mgcb --version 3.8.0.1375-develop
  2. Same with editor dotnet tool install --global dotnet-mgcb-editor --version 3.8.0.1375-develop
  3. Optionally you can register the editor dotnet mgcb-editor --register or mgcb-editor --register.
  4. Now you can open it via cmd mgcb-editor and it should work
1 Like