Skip to content

Commit bcab2ca

Browse files
committed
#531 Nuget package is now properly created automatically
1 parent 10e3736 commit bcab2ca

File tree

2 files changed

+16
-30
lines changed

2 files changed

+16
-30
lines changed

Developer Tools/TweetinviAPI/TweetinviAPI.nuspec

+13-29
Original file line numberDiff line numberDiff line change
@@ -18,36 +18,20 @@
1818
<tags>twitter c# rest stream api 1.1 .net netcore netstandard core</tags>
1919
<dependencies>
2020
<group>
21-
<dependency id="Autofac" version="3.5.2" />
22-
<dependency id="Microsoft.Bcl.Async" version="1.0.168" />
23-
<dependency id="Microsoft.Bcl.Build" version="1.0.21" />
24-
<dependency id="Microsoft.Net.Http" version="2.2.29" />
25-
<dependency id="Newtonsoft.Json" version="9.0.1" />
21+
<dependency id="Autofac" version="4.6.0" />
22+
<dependency id="Newtonsoft.Json" version="10.0.2" />
23+
<dependency id="Nito.AsyncEx.Context" version="1.1.0" />
24+
<dependency id="System.Net.Http" version="4.3.2" />
25+
<dependency id="System.Reflection.TypeExtensions" version="4.3.0" />
26+
<dependency id="System.Runtime.Serialization.Primitives" version="4.3.0" />
2627
</group>
27-
<group targetFramework=".NETFramework4.5">
28-
<dependency id="Autofac" version="3.5.2" />
29-
<dependency id="Microsoft.Bcl.Async" version="1.0.168" />
30-
<dependency id="Microsoft.Bcl.Build" version="1.0.21" />
31-
<dependency id="Microsoft.Net.Http" version="2.2.29" />
32-
<dependency id="Newtonsoft.Json" version="9.0.1" />
33-
</group>
34-
<group targetFramework=".NETFramework4.0">
35-
<dependency id="Autofac" version="3.5.2" />
36-
<dependency id="Microsoft.Bcl.Async" version="1.0.168" />
37-
<dependency id="Microsoft.Bcl.Build" version="1.0.21" />
38-
<dependency id="Microsoft.Net.Http" version="2.2.29" />
39-
<dependency id="Newtonsoft.Json" version="9.0.1" />
40-
</group>
41-
<group targetFramework="netcore451">
42-
<dependency id="Autofac" version="[3.5.2]" />
43-
<dependency id="Microsoft.Bcl.Async" version="1.0.168" />
44-
<dependency id="Microsoft.Bcl.Build" version="1.0.21" />
45-
<dependency id="Microsoft.Net.Http" version="2.2.29" />
46-
<dependency id="Newtonsoft.Json" version="9.0.1" />
47-
</group>
48-
<group targetFramework=".NETStandard1.5">
49-
<dependency id="Autofac" version="4.1.0" />
50-
<dependency id="Newtonsoft.Json" version="9.0.1" />
28+
<group targetFramework=".NETStandard1.3">
29+
<dependency id="Autofac" version="4.6.0" />
30+
<dependency id="Newtonsoft.Json" version="10.0.2" />
31+
<dependency id="Nito.AsyncEx.Context" version="1.1.0" />
32+
<dependency id="System.Net.Http" version="4.3.2" />
33+
<dependency id="System.Reflection.TypeExtensions" version="4.3.0" />
34+
<dependency id="System.Runtime.Serialization.Primitives" version="4.3.0" />
5135
</group>
5236

5337
</dependencies>

Developer Tools/src/build-actions.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,9 @@ module.exports = {
6262

6363
createNugetPackage: () => {
6464
return shell.spawn('mkdir TweetinviAPI\\lib\\netstandard1.3').then(() => {
65-
return shell.spawn('cp ../Tweetinvi/bin/Debug/netstandard1.3/Tweetinvi.*.dll ./TweetinviAPI/lib/netstandard1.3');
65+
return shell.spawn('cp ../Tweetinvi/bin/Debug/netstandard1.3/Tweetinvi*.dll ./TweetinviAPI/lib/netstandard1.3');
66+
}).then(() => {
67+
return shell.spawn('cp ../Tweetinvi/bin/Debug/netstandard1.3/Tweetinvi.*.dll ./TweetinviAPI/lib/net46');
6668
}).then(() => {
6769
return shell.cd('./TweetinviAPI');
6870
}).then(() => {

0 commit comments

Comments
 (0)