Can't install monogame.extended nuget package

Hi everyone, I can’t install MonoGame.Extendes package, every time I’ve got this exception :

Could not install package ‘MonoGame.Extended 3.7.0’. You are trying to install this package into a project that targets ‘.NETFramework,Version=v4.7.2’, but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.

I can’t figure how to resolve this because .NetFramework v4.7.2 targets .Net Standard 2.0.

I’ve also tried on another computer, and I’ve the same result.

Mate, I’m quite surprised by this because I just tested it again and it works as expected.

In case it helps, here are the exact steps I took.

  1. Open Visual Studio 2017
  2. Create a “MonoGame Windows Project” (from the templates installed with MonoGame)
  3. Check that it compiles and runs
  4. Change the target framework to .NET Framework 4.7.2
  5. Install MonoGame.Extended (using the NuGet package manager GUI)
  6. Draw a rectangle (to make sure Extended is working)
spriteBatch.Begin();
spriteBatch.FillRectangle(100, 100, 200, 300, Color.Red);
spriteBatch.End();

That’s pretty much all there is to it. I’m not sure what you’re doing differently.

Some things to try:

  • Check that you’ve got the latest versions of everything (Visual Studio updates, .NET Framework, etc)
  • Maybe you’re using and old version of NuGet
  • Clone the source and see if you can get the demos to work
  • Maybe try the .NET Core way