robertvazan / guerrillantp

Simple NTP (SNTP) client library providing .NET applications with accurate network time.
https://guerrillantp.machinezoo.com/
Apache License 2.0
67 stars 17 forks source link

Add netstandard2.0 target. #1

Closed MatthewKing closed 4 years ago

MatthewKing commented 4 years ago

Hi,

According to this document, Microsoft's current recommendation is to always include a netstandard2.0 target, even if a netstandard1.x target is still present/required.

DO include a netstandard2.0 target if you require a netstandard1.x target. All platforms supporting .NET Standard 2.0 will use the netstandard2.0 target and benefit from having a smaller package graph while older platforms will still work and fall back to using the netstandard1.x target.

Targeting netstandard2.0 will simplify the dependency graph.

This pull request adds a netstandard2.0 target, while still retaining the initial netstandard1.5 target.

Thanks!

robertvazan commented 4 years ago

@MatthewKing Thanks. I wouldn't be able to make a release immediately though.

robertvazan commented 4 years ago

Actually, I got the NuGet release script working and this is now included in release 1.4.2.

MatthewKing commented 4 years ago

Excellent, thanks!