RonenNess / GeonBit.UI

UI system for MonoGame projects.
MIT License
467 stars 63 forks source link

Nuget package missing platform #102

Closed ollipekka closed 10 months ago

ollipekka commented 5 years ago

When adding the project to a net47 target framework project via paket using dotnet restore I get

: error NU1202: Package GeonBit.UI 3.4.0 is not compatible with net47 (.NETFramework,Version=v4.7). Package GeonBit.UI 3.4.0 supports: geonbitui (geonbitui,Version=v0.0) [] Since portable is deprecated, I think GeonBit.UI should be netstandard2.0 compatible to ensure maximum compatibility with other platforms & monogame. However, I'm not entirely sure. Because of this i need to manually add the reference as opposed to using nuget.
RonenNess commented 5 years ago

Thanks @ollipekka, I'll keep this issue opened until my next release, then I'll see what's the best way to be cross target.

Cheers :)

EDIT: I just did a release but didn't address this issue yet because I didn't want to put too much noise into the release. Next time I'll check it out.

WTRipper commented 4 years ago

I have created a pull request for .NetStandard2.0 and .NetFramework4.6.1. Please have a look at the description of the pull request though. https://github.com/RonenNess/GeonBit.UI/pull/113