I’m trying to install MonoGame.Extended for my project but I seem to have some trouble with a missing reference to “Newtonsoft.Json”, as it says in the bottom of my screen.
What can I do in order to fix this so I can start using MonoGame.Extended?
I actually had the same problem when I was reinstalling extended a week ago on vs 2017. I believe the problem was that NuGet wasn’t able to install Newtonsoft.Json correctly for some reason. Anyway I’m not sure how I fixed it exactly, but I think that I went into the vs 2017 installer and either repaired or added some more “features” or whatever they’re called. Sorry I just can’t seem to remember what I did exactly.
edit: Now that I think about it, I might have had an issue with the .NetFramework version too so try checking for that, it could have been the problem. Again sorry, I’m not really sure what I did…
I used the NuGet package console of Visual Studio 2015 with the mentioned command to successfully obtain the extension (the two DLL files) and this and along with this reply, I’ll send a screenshot of the console as soon as I run the command.
It looks like you’re trying to install the pre-release packages from nuget.org. This won’t work because we don’t publish pre-release packages to nuget.org.
Try removing the -Pre from the command:
Install-Package MonoGame.Extended
If you actually intended to install the pre-release packages follow these instructions to setup your NuGet package sources in Visual Studio.