github googleapis/google-api-dotnet-client v1.17.0
v1.17.0 fix net46+ support

latest releases: v1.68.0, v1.67.0, v1.66.0...
7 years ago

Bug fixes:

  • #845 net46 not correctly supported in generated libraries.

This release fixes an issue with projects built against net46+.

v1.16.0 and below did not contain a specific net45 target, net45 builds used the PCL with net45 support.
A project targeting net45 (or net451, etc) with a dependency on one of these client libraries will correctly use the PCL, and all is fine.
However, a project targeting net46+ will use the netstandard1.3 target (not the PCL target), which is not desirable.

This v1.17.0 release adds a net45 target within the nupkg, so net45 and net46 projects will now use this specific net45 dll.

The netstandard1.3 target depends on newtonsoft.json v9.0.1 (earliest version with netstandard support), whereas all the other targets depend on newtonsoft.json v7.0.1.
So using v1.16.0 and moving a project from net45 to net46 would change the newtonsoft.json version required from v7.0.1 to v9.0.1, which is not desirable.
The new net45 target in this v1.17.0 release depends on newtonsoft.json v7.0.1, which will now be consistent across net45 and net46+ projects.

The support libraries (Google.Apis, Google.Apis.Core, Google.Apis.Auth) have always had net45 targets, with a dependency on newtonsoft.json v7.0.1.
So the v1.16.0 behaviour under net46 caused conflicting versions of the newtonsoft.json dependency. This is now fixed.

Don't miss a new google-api-dotnet-client release

NewReleases is sending notifications on new releases.