From d2a3e61d0cc3ef1bae9fb1c7015b98e1cdb2d7d4 Mon Sep 17 00:00:00 2001 From: Huib Piguillet Date: Fri, 8 Oct 2021 14:07:16 +0200 Subject: [PATCH] Update .NET framework 4.6 -> 4.8 (#59) --- Bynder/Sample/Bynder.Sample.csproj | 2 +- Bynder/Sdk/Api/Converters/TagsOrderByConverter.cs | 3 ++- Bynder/Sdk/Bynder.Sdk.csproj | 10 +++++----- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/Bynder/Sample/Bynder.Sample.csproj b/Bynder/Sample/Bynder.Sample.csproj index f525c5c..36371fd 100644 --- a/Bynder/Sample/Bynder.Sample.csproj +++ b/Bynder/Sample/Bynder.Sample.csproj @@ -1,7 +1,7 @@ Exe - netcoreapp3.1 + net5.0 2.0.0 2.0.0 Bynder diff --git a/Bynder/Sdk/Api/Converters/TagsOrderByConverter.cs b/Bynder/Sdk/Api/Converters/TagsOrderByConverter.cs index d92276f..dc50e6b 100644 --- a/Bynder/Sdk/Api/Converters/TagsOrderByConverter.cs +++ b/Bynder/Sdk/Api/Converters/TagsOrderByConverter.cs @@ -22,7 +22,8 @@ public bool CanConvert(Type typeToConvert) /// converted string public string Convert(object value) { - switch (value) { + switch (value) + { case TagsOrderBy.TagAscending: return "tag asc"; case TagsOrderBy.TagDescending: diff --git a/Bynder/Sdk/Bynder.Sdk.csproj b/Bynder/Sdk/Bynder.Sdk.csproj index 2e8a027..522319b 100644 --- a/Bynder/Sdk/Bynder.Sdk.csproj +++ b/Bynder/Sdk/Bynder.Sdk.csproj @@ -1,13 +1,13 @@ - netstandard2.0;net46 - 2.2.4.0 - 2.2.4.0 + netstandard2.1;net48 + 2.2.6.0 + 2.2.6.0 Bynder Bynder.Sdk Copyright © Bynder true - 2.2.5 + 2.2.6 BynderDevops The main goal of this SDK is to speed up the integration of Bynder customers who use C# making it easier to connect to the Bynder API (http://docs.bynder.apiary.io/) and executing requests on it. https://bynder.com/static/3.0/img/favicon-black.ico @@ -16,7 +16,7 @@ true BynderDevops https://github.com/Bynder/bynder-c-sharp-sdk - Downgraded .NET standard from 2.1 back to 2.0, to ensure compatibility with .NET framework. + Added .NET framework as a separate target. The main goal of this SDK is to speed up the integration of Bynder customers who use C# making it easier to connect to the Bynder API (http://docs.bynder.apiary.io/) and executing requests on it. Bynder API C# SDK Bynder.Sdk