I’m just an end user of monogame, I don’t know anything about json or nuget or gitub, or special command line paths, but I have made SEVERAL games with monogame, so I feel like this should not be an issue, and there must be some EDGE CASE reason why I’m having these problems…
But then, this is new clean windows PC, and I am a typical user. I haven’t even set a wall paper on this machine… What gives.
I can find an app with the NAME mgcb, but it does nothing when I run it, and also has no icon. But it is the only app I can find with that sort of name.
If you create a new project from the template, it should have tool restore set up like in the migration guide I linked above. This should install the editor here: C:\Users\username\.nuget\packages\dotnet-mgcb-editor-windows\18.104.22.1683\tools\net6.0\any\mgcb-editor-windows-data\mgcb-editor-windows.exe
If it’s not there, something went wrong. Does the project you are building really have tool restore? Do you see some message in the output window about restoring tools?
EDIT: Are you maybe using an older extension that creates pre 3.8.1 projects?
Sorry, they put a minimum 4 hour delay on my response…
Well, I just un installed monogame and even visual studio 19 and 22… Then re installed VS22 and added monogame templates through the drop down menu in Visual Studio.
When I create new projects, everything is fine, except I cannot use the content tool to open the pre-generated, brand new content file, Content.mgcb…
All on a fresh install, where I picked the front page standard install of Visual studio AND monogame.
I’m not seeking backwards compatability with old projects, not migrating or updating, nor do I have ANY special requirements. I’m trying to get barebones vanilla monogame, at a consumer level.
I have a hot-fix of just STREAMING in textures, but I hear the tool optimizes the load process, and I want that for the kids I teach. They should get the current standard, not so they can get help from other users and forums.
I have suffered similar trials, with multiple conflicting advice.
I am unable to get the icon back despite registry hacks, setting file associations etc, but this method seems to work. (VS2022 latest update, Monogame latest 3.8.1)
Open terminal/cmd/powershell inside Content folder:
Type: mgcb-editor (Enter)
This should get instruction: use “dotnet tool restore” to make the “mgcb-editor-windows” command available.
Type: dotnet tool restore (Enter)
Double-click on Content.mgcb
I assume this is breaking all the rules/advice on NOT using a global editor, but if it works, use it.