Skip to content

Commit 902d6f3

Browse files
author
Cory Thompson
committed
Update nuspec to only install dependencies for target framework.
1 parent 5154cc9 commit 902d6f3

File tree

1 file changed

+26
-8
lines changed

1 file changed

+26
-8
lines changed

WebPush.nuspec

Lines changed: 26 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,33 @@
99
<projectUrl>https://github.com/coryjthompson/web-push-csharp/</projectUrl>
1010
<requireLicenseAcceptance>false</requireLicenseAcceptance>
1111
<description>Web Push library for C#</description>
12-
<copyright>Copyright 2016</copyright>
12+
<copyright>Copyright 2017</copyright>
1313
<tags>web push notifications vapid</tags>
14-
<dependencies>
15-
<dependency id="BouncyCastle" version="1.8.1"/>
16-
<dependency id="Newtonsoft.Json" version="6.0.1"/>
17-
<dependency id="Microsoft.Bcl" version="1.1.10" />
18-
<dependency id="Microsoft.Bcl.Async" version="1.0.168" />
19-
<dependency id="Microsoft.Bcl.Build" version="1.0.14" />
20-
<dependency id="Microsoft.Net.Http" version="2.2.29" />
14+
<dependencies>
15+
<group targetFramework="netcoreapp1.0">
16+
<dependency id="BouncyCastle.NetCore" version="1.8.1.3"/>
17+
<dependency id="Newtonsoft.Json" version="10.0.1"/>
18+
</group>
19+
<group targetFramework="netcoreapp1.1">
20+
<dependency id="BouncyCastle.NetCore" version="1.8.1.3"/>
21+
<dependency id="Newtonsoft.Json" version="10.0.1"/>
22+
</group>
23+
<group targetFramework="netstandard1.3">
24+
<dependency id="BouncyCastle.NetCore" version="1.8.1.3"/>
25+
<dependency id="Newtonsoft.Json" version="10.0.1"/>
26+
</group>
27+
28+
<group targetFramework="net45">
29+
<dependency id="BouncyCastle" version="1.8.1"/>
30+
<dependency id="Microsoft.Net.Http" version="2.2.29" />
31+
<dependency id="Newtonsoft.Json" version="10.0.1"/>
32+
</group>
33+
34+
<group targetFramework="net46">
35+
<dependency id="BouncyCastle" version="1.8.1"/>
36+
<dependency id="Microsoft.Net.Http" version="2.2.29" />
37+
<dependency id="Newtonsoft.Json" version="10.0.1"/>
38+
</group>
2139
</dependencies>
2240
</metadata>
2341
</package>

0 commit comments

Comments
 (0)