nuspec dependency fixes

Explicitly don't add any dependencies for "old" platforms, to avoid unnecessary
dependencies in those cases.

Fixes issue #1203.
pull/1218/head
Jon Skeet 9 years ago
parent bd8a476510
commit f1c5754f0f
  1. 10
      csharp/src/Google.Protobuf/Google.Protobuf.nuspec

@ -15,6 +15,16 @@
<copyright>Copyright 2015, Google Inc.</copyright>
<tags>Protocol Buffers Binary Serialization Format Google proto proto3</tags>
<dependencies>
<!-- Dependencies for older, monolithic-assembly platforms -->
<group targetFramework="net45" />
<group targetFramework="wp8" />
<group targetFramework="win8" />
<group targetFramework="wpa81" />
<group targetFramework="xamarin.ios" />
<group targetFramework="monotouch" />
<group targetFramework="monoandroid" />
<!-- Dependencies for newer, more granular platforms (.NET Core etc) -->
<group targetFramework="dotnet">
<dependency id="System.Collections" version="4.0.0" />
<dependency id="System.Diagnostics.Debug" version="4.0.0" />

Loading…
Cancel
Save