I am a teacher and have been using Monogame for a few years with my classes without issue. Just recently, when students add the Monogame extension (VS2022) and create a new project, I get the following error:
the command “dotnet tool restore” exited with code 1.
In the output window it states:
Version 3.8.4.2274-develop of package dotnet-mgcb is not found in NuGet feeds…
It appears that it is referencing some developer version of the MGCB?
I am able to correct this issue by opening the dotnet-tools.json file and changing the reference to 3.8.4.0, but my students who are new to programming are struggling with this, and it is every time they create a new project. We then have to close and re-load the project, and sometimes the dependencies don’t re-load right away and we have to wait or re-load it a second time. It is causing a lot of frustration.
Students who added the Monogame extension earlier in the school year don’t have this issue, but it seems that anyone adding it over the past few weeks is having this issue.
Any new machine that we use seems to have this bug when creating new projects. We can clone older projects without issue. It’s just when we make new projects.
Is this an issue with the monogame template extension? Does anyone else have this issue or an idea of why it just started happening?