MonoGame 3.8 prerelease packages are up on NuGet

Install 3.8.0.1375-develop VS templates:

  • Go Extensions > Manage Extensions
  • Go to Online section
  • Search for MonoGame
  • Install “MonoGame project templates”

Install and use dotnet templates:

# Install templates (if you are using Rider, this one command is all you need, templates will appear in its project wizard)
dotnet new -i MonoGame.Templates.CSharp::3.8.0.1375-develop

# List installed templates
dotnet new 

# Create project
dotnet new mguwpcore -n MyUwpGame

You’ve lost me already.

https://docs.monogame.net/articles/introduction/create_project.html

Have absolutely no idea what rider is, ONLY VS…

My point was, I have no reason to use it…

Right:

1
Start Visual Studio
2
Click Continue without code
3
Then follow the above instructions

Might help adding that to the documentation page.

Otherwise my assumption is create a project then the above.

Make a PR, its an open source project after all!

1 Like

Jesus, thanks for the instructions…

:thinking: might make a good t-shirt lol

EDIT

Just assume I have zero clue [nor interest still now] with NuGET [Though that is slowly changing] or GitHUB [Not changing in the slightest]

Hang on, so what’s the point of this?

Forum is getting confusing:

What do you mean?

OK

1

install the extension

2

install a nuget magic thing that does something [apparrently]

3

install templates

Are they all required?

EDIT

It might help if you click my name card here

If you are using Visual Studio:

  1. Install extension with templates
  2. Make project

If you are using dotnet cli:

  1. Install nuget with templates
  2. Make project

Something is broken EDIT, using the template

Upon creating a project:
I saw this:
Cannot resolve Assembly or Windows Metadata file 'Type universe cannot resolve assembly: System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.' MgXAMLTest

And then building and running:

EDIT

And now I cannot add a reference for MG either

EDIT

Dang it, now I am lost.

Using the template what? Which template is failing?

Visual Studio
UWP [XAML]
DX

Nothing more interests me at this stage.

The Visual Studio MonoGame Windows DirectX Template works fine here. Can you try to build from the same template and copy paste the build output here?

My understanding is, that package is DesktopDX not UWP.

Something seems wrong with your C# install, dotnet new tool-manifest failed to run, try running it in the current folder of your project.

UWP template works fine on my PC.

Btw. in the develop branch we have made MGCB.Tasks nuget not work with dotnet tool stuff, its self contained.