Skip to content

Commit bb92c96

Browse files
committed
fix: net45 and net46 target frameworks added back
1 parent e8e18af commit bb92c96

File tree

3 files changed

+50
-8
lines changed

3 files changed

+50
-8
lines changed

NetTelegramBotApi/project.json

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "3.8.0",
2+
"version": "3.8.1",
33
"title": "NetTelegramBotApi",
44
"description": "Telegram Bot API library",
55

@@ -18,11 +18,24 @@
1818
},
1919

2020
"dependencies": {
21-
"Newtonsoft.Json": "9.0.1",
22-
"System.Net.Http": "4.1.0"
21+
"Newtonsoft.Json": "9.0.1"
2322
},
2423

2524
"frameworks": {
26-
"netstandard1.3": {}
25+
"net45": {
26+
"frameworkAssemblies": {
27+
"System.Net.Http": "4.0.0.0"
28+
}
29+
},
30+
"net46": {
31+
"frameworkAssemblies": {
32+
"System.Net.Http": "4.0.0.0"
33+
}
34+
},
35+
"netstandard1.3": {
36+
"dependencies": {
37+
"System.Net.Http": "4.1.0"
38+
}
39+
}
2740
}
2841
}

NetTelegramBotApi/project.lock.json

Lines changed: 32 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,28 @@
22
"locked": false,
33
"version": 2,
44
"targets": {
5+
".NETFramework,Version=v4.5": {
6+
"Newtonsoft.Json/9.0.1": {
7+
"type": "package",
8+
"compile": {
9+
"lib/net45/Newtonsoft.Json.dll": {}
10+
},
11+
"runtime": {
12+
"lib/net45/Newtonsoft.Json.dll": {}
13+
}
14+
}
15+
},
16+
".NETFramework,Version=v4.6": {
17+
"Newtonsoft.Json/9.0.1": {
18+
"type": "package",
19+
"compile": {
20+
"lib/net45/Newtonsoft.Json.dll": {}
21+
},
22+
"runtime": {
23+
"lib/net45/Newtonsoft.Json.dll": {}
24+
}
25+
}
26+
},
527
".NETStandard,Version=v1.3": {
628
"Microsoft.CSharp/4.0.1": {
729
"type": "package",
@@ -3397,10 +3419,17 @@
33973419
},
33983420
"projectFileDependencyGroups": {
33993421
"": [
3400-
"Newtonsoft.Json >= 9.0.1",
3401-
"System.Net.Http >= 4.1.0"
3422+
"Newtonsoft.Json >= 9.0.1"
3423+
],
3424+
".NETFramework,Version=v4.5": [
3425+
"System.Net.Http >= 4.0.0"
34023426
],
3403-
".NETStandard,Version=v1.3": []
3427+
".NETFramework,Version=v4.6": [
3428+
"System.Net.Http >= 4.0.0"
3429+
],
3430+
".NETStandard,Version=v1.3": [
3431+
"System.Net.Http >= 4.1.0"
3432+
]
34043433
},
34053434
"tools": {},
34063435
"projectFileToolGroups": {}

TelegramBotDemo/packages.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="NetTelegramBotApi" version="3.7.50926" targetFramework="net45" />
3+
<package id="NetTelegramBotApi" version="3.8.1" targetFramework="net45" />
44
<package id="Newtonsoft.Json" version="7.0.1" targetFramework="net45" />
55
</packages>

0 commit comments

Comments
 (0)