I really want to use Monogame.extended and massively appreciate all of the work that has gone into it. But every time I use it I feel like I’m an idiot.
I’m trying to get tweening working and found some documentation here:
Fantastic, this looks straight-forward. Let me get the NuGet packages for it and see how I get on.
Hmmmm, there appears to be no Tweener class in the library. Odd. It says the NuGet package was built 3 months - checking the code on github shows it was there in the source 3 months ago.
I’ve ended up building the Tweener Library from source - and that at least gives me the Tweener class but when I call the Update() method it requires me to install netstandard v2.0.0. And all attempts to install this via NuGet or manually break everything else
Everything you’ve discovered is basically correct. We’re in the middle of a major upgrade including moving to .NET Standard.
The thing that surprises me a bit is that you’re needing to ‘reverse’ the .NET Standard stuff. As far as I was aware, .NET Standard is compatible with .NET Framework so you shouldn’t need to reverse anything.
What version of Visual Studio (or other IDE) are you using? What version .NET Framework are you targeting? Chances are if you’re using the right versions everything will become a whole lot easier.
You might also want to checkout how the demos are setup. Once you start using .NET Core / .NET Standard and the new csproj format you’ll likely never want to go back. It’s much better imho.
I’m using Visual Studio 2017 and targeting .NET Framework 4.5.
I think you’re probably right that I need to go forward with everything rather than backwards. I’ve already got some NuGet Monogame.Extended packages from V1.1 installed. I suspect it’s probably best to compile from source myself and put those in. The demos compile so I should be able to get it working.
It’s just one of those things where you want to have a quick play with something and you end up down the rabbit hole
Will update my post once I’ve had a chance to ‘go forward’.
P.S. thanks for the huge amounts of work you’ve put into ME. I’m sure once I can get the basics up and running I’ll be a convert!
I’m new to the .NET Standard stuff. I was just looking for a way to target ‘.NET Standard 2.0’ in my project as it doesn’t come up in the list - although is the target for ME. Switching to 4.6.1 solves the problem
I’ve never seen this error before. The only thing I can think of is that you might not be running the script from a git repository (in other words, did you download the source as a zip file maybe?)
You shouldn’t need to manually update anything in the tools. Cake is designed to automatically download the appropriate tools when you run the build.ps1 file. This happens on our build server for every commit and as far as I can tell it’s working just fine.
I think you might need to provide more detail on what exactly you’ve tried?