diff --git a/NetTelegramBotApi/project.json b/NetTelegramBotApi/project.json index 14d9374..bc823d8 100644 --- a/NetTelegramBotApi/project.json +++ b/NetTelegramBotApi/project.json @@ -1,5 +1,5 @@ { - "version": "3.8.0", + "version": "3.8.1", "title": "NetTelegramBotApi", "description": "Telegram Bot API library", @@ -18,11 +18,24 @@ }, "dependencies": { - "Newtonsoft.Json": "9.0.1", - "System.Net.Http": "4.1.0" + "Newtonsoft.Json": "9.0.1" }, "frameworks": { - "netstandard1.3": {} + "net45": { + "frameworkAssemblies": { + "System.Net.Http": "4.0.0.0" + } + }, + "net46": { + "frameworkAssemblies": { + "System.Net.Http": "4.0.0.0" + } + }, + "netstandard1.3": { + "dependencies": { + "System.Net.Http": "4.1.0" + } + } } } diff --git a/NetTelegramBotApi/project.lock.json b/NetTelegramBotApi/project.lock.json index e675e34..20d3200 100644 --- a/NetTelegramBotApi/project.lock.json +++ b/NetTelegramBotApi/project.lock.json @@ -2,6 +2,28 @@ "locked": false, "version": 2, "targets": { + ".NETFramework,Version=v4.5": { + "Newtonsoft.Json/9.0.1": { + "type": "package", + "compile": { + "lib/net45/Newtonsoft.Json.dll": {} + }, + "runtime": { + "lib/net45/Newtonsoft.Json.dll": {} + } + } + }, + ".NETFramework,Version=v4.6": { + "Newtonsoft.Json/9.0.1": { + "type": "package", + "compile": { + "lib/net45/Newtonsoft.Json.dll": {} + }, + "runtime": { + "lib/net45/Newtonsoft.Json.dll": {} + } + } + }, ".NETStandard,Version=v1.3": { "Microsoft.CSharp/4.0.1": { "type": "package", @@ -3397,10 +3419,17 @@ }, "projectFileDependencyGroups": { "": [ - "Newtonsoft.Json >= 9.0.1", - "System.Net.Http >= 4.1.0" + "Newtonsoft.Json >= 9.0.1" + ], + ".NETFramework,Version=v4.5": [ + "System.Net.Http >= 4.0.0" ], - ".NETStandard,Version=v1.3": [] + ".NETFramework,Version=v4.6": [ + "System.Net.Http >= 4.0.0" + ], + ".NETStandard,Version=v1.3": [ + "System.Net.Http >= 4.1.0" + ] }, "tools": {}, "projectFileToolGroups": {} diff --git a/TelegramBotDemo/packages.config b/TelegramBotDemo/packages.config index b9ad0b3..d4a929d 100644 --- a/TelegramBotDemo/packages.config +++ b/TelegramBotDemo/packages.config @@ -1,5 +1,5 @@  - + \ No newline at end of file