MonoGame 3.8 prerelease packages are up on NuGet

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.

I don’t understand any of that…

Please assume I know nothing about anything there…

EDIT

Got it working now, maybe a cache issue somewhere.

I might – if someone needs it – explain my original method which worked.

Thanks @harry-cpp and @persn for your time and patience with me there, was rather frustrating and really did not need to be…

Time to get stuff running, thanks again :pray:t2:

Link on documentation page for readme is deadlinked

EDIT

Should it be pointing here:

https://github.com/MonoGame/MonoGame/blob/develop/README.md

@harry-cpp Looks like there are some issues with the nuget templates. I created a project via the templates (DirectX) and was not able to add the newtonsoft json nuget to my project (it would look like it’s doing something and then just stop).

When I create a project manually (standard c# .net) and then manually add the monogame nugets, I don’t have this issue (although I have other issues like the font problem per github).

FYI, another issue with the templates is if you create a monogame shared project, you can’t add anything to the project when you right click the project node. Normally you would get an option to add an existing item, new item, new folder etc., But those options are not in the context menu with a monogame shared project.

Looks like we’re almost there, but there are still issues which quite haven’t been ironed out yet.

That’s not an issue with templates… or anything MonoGame related…

That actually is an issue, fixed in #7201

1 Like

Originally I was going to post an issue on the GitHub page, because it appeared that the Pipeline tool was broken in the latest MonoGame Visual Studio development build. But after reading this post and the replies, it looks to me like the latest development build available on https://www.monogame.net/downloads/ is not actually the latest development build. I see references to version 3.8.0.1375 in the original post, while 3.8.0.1082 is the latest build on the Downloads page. I see mentions in the replies that the Pipeline tool has possibly been replaced by “MGCB Editor,” that NuGet is where to get all of this, and that some manual effort may also be required to make use of the new version(s).

If part or all of this is true, could the Downloads page be updated to reflect this? Is there a place where I can learn about these changes, preferably with instructions? I’m currently using MG with Visual Studio 2015 and 2017, on Windows and Mac. I have never used or installed .NET Core, as far as I know.

Thank you! And thanks for all of your continued efforts to update and improve MonoGame.

1 Like

I’ve successfully upgraded my Window and Android projects to 3.8 and they seem to work fine. When I tried to upgrade the iOS one, it won’t let me install the package, says: “Failed to add reference. The package ‘MonoGame.Framework.iOS’ tried to add a framework reference to ‘System.Drawing.Common.dll’ which was not found in the GAC. This is possibly a bug in the package. Please contact the package owners for assistance.
Reference unavailable.”

e: I fixed this by adding a reference to system.drawing.common manually

Cool, got the MGCB working :ok_hand::+1:

EDIT

OK OK OK I Like NuGet and GitHub now :sake:

1 Like