VS 2022 templates

Hello,
The new templates for 2022 seem to have a few issues which I’d like to report

I’m seeing a different logo from what is on the documentation: Creating a Project with Visual Studio 2022 | MonoGame Documentation

Is this intentional? I liked the previous ones better, it was easier to understand which project belong to which platform just by looking in the logo, and the orange background seems weird.

Also, the MonoGame Windows Desktp Application tags include Linux and macOS, which I don’t believe it’s right?

Thank you.

Like the post mentioned at How to get uwpcore template? - General - Community | MonoGame, it’s also missing the uwp core project.

When I tried to install from the CLI, it gave this error:

Error: Failed to load template from C:\Users<UserName>.templateengine\packages\MonoGame.Templates.CSharp.3.8.1.303.nupkg(/content/content/MonoGame.Application.UWP.CoreApp.CSharp/.template.config/template.json):
Missing ‘identity’.

3 Likes

I have this problem too

Me too. I was using gitHub and learning how to use it and I had some long commit that was like my entire system it seemed like. I still tried to get the commit to occur by ignoring all the files within VS, and it got partially through and froze up and I cancelled the ignore and then closed the program. Since this, my mgcb-editor will not open and I get that same error message. What is going on? I reinstalled just about everything and I have my first game jam coming up soon.

I’m also getting this issue.

Me too, I see only the xaml version of UWP.

same issue here.
Installed via CMD, got this going now:

C:\Windows\System32>dotnet new --install MonoGame.Templates.CSharp
Warning: use of ‘dotnet new --install’ is deprecated. Use ‘dotnet new install’ instead.
For more information, run:
dotnet new install -h

The following template packages will be installed:
MonoGame.Templates.CSharp

MonoGame.Templates.CSharp (version 3.8.1.303) is already installed, it will be replaced with latest version.
MonoGame.Templates.CSharp::3.8.1.303 was successfully uninstalled.
Error: Failed to load template from C:\Users\fredm.templateengine\packages\MonoGame.Templates.CSharp.3.8.1.303.nupkg(/content/content/MonoGame.Application.UWP.CoreApp.CSharp/.template.config/template.json).
Details: ‘identity’ is missing or is an empty string.
Success: MonoGame.Templates.CSharp::3.8.1.303 installed the following templates:
Template Name Short Name Language Tags


MonoGame Android Application mgandroid [C#] MonoGame/Games/Mobile/Android
MonoGame Content Pipeline Extension mgpipeline [C#] MonoGame/Games/Extensions
MonoGame Cross-Platform Desktop Application mgdesktopgl [C#] MonoGame/Games/Desktop/Windows/Linux/macOS
MonoGame Game Library mglib [C#] MonoGame/Games/Library
MonoGame iOS Application mgios [C#] MonoGame/Games/Mobile/iOS
MonoGame Shared Library Project mgshared [C#] MonoGame/Games/Library
MonoGame Windows Desktop Application mgwindowsdx [C#] MonoGame/Games/Desktop/Windows/Linux/macOS
MonoGame Windows Universal XAML Application mguwpxaml [C#] MonoGame/Games/Desktop/Windows/Xbox/UWP/XAML