diff --git a/Packages.props b/Packages.props
index ec65777b..d42526c5 100644
--- a/Packages.props
+++ b/Packages.props
@@ -9,8 +9,8 @@
-
-
+
+
@@ -51,21 +51,21 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -76,12 +76,12 @@
-
-
-
-
-
-
+
+
+
+
+
+
@@ -90,7 +90,7 @@
-
+
diff --git a/global.json b/global.json
index 2eb4cb3f..0db3faa4 100644
--- a/global.json
+++ b/global.json
@@ -1,11 +1,11 @@
{
"tools": {
- "dotnet": "5.0.201",
+ "dotnet": "5.0.301",
"runtimes": {
"aspnetcore": [
- "2.1.26",
- "3.1.13"
+ "2.1.28",
+ "3.1.16"
]
}
},
diff --git a/src/OpenIddict.Server.AspNetCore/OpenIddict.Server.AspNetCore.csproj b/src/OpenIddict.Server.AspNetCore/OpenIddict.Server.AspNetCore.csproj
index d05b3a44..5e59c34b 100644
--- a/src/OpenIddict.Server.AspNetCore/OpenIddict.Server.AspNetCore.csproj
+++ b/src/OpenIddict.Server.AspNetCore/OpenIddict.Server.AspNetCore.csproj
@@ -19,7 +19,9 @@
+ Condition=" ('$(TargetFrameworkIdentifier)' == '.NETCoreApp' And $([MSBuild]::VersionLessThan($(TargetFrameworkVersion), '3.0'))) Or
+ ('$(TargetFrameworkIdentifier)' == '.NETFramework') Or
+ ('$(TargetFrameworkIdentifier)' == '.NETStandard') ">
diff --git a/src/OpenIddict.Server.DataProtection/OpenIddict.Server.DataProtection.csproj b/src/OpenIddict.Server.DataProtection/OpenIddict.Server.DataProtection.csproj
index 13cca40e..ecac5301 100644
--- a/src/OpenIddict.Server.DataProtection/OpenIddict.Server.DataProtection.csproj
+++ b/src/OpenIddict.Server.DataProtection/OpenIddict.Server.DataProtection.csproj
@@ -19,7 +19,9 @@
+ Condition=" ('$(TargetFrameworkIdentifier)' == '.NETCoreApp' And $([MSBuild]::VersionLessThan($(TargetFrameworkVersion), '3.0'))) Or
+ ('$(TargetFrameworkIdentifier)' == '.NETFramework') Or
+ ('$(TargetFrameworkIdentifier)' == '.NETStandard') ">
diff --git a/src/OpenIddict.Validation.AspNetCore/OpenIddict.Validation.AspNetCore.csproj b/src/OpenIddict.Validation.AspNetCore/OpenIddict.Validation.AspNetCore.csproj
index a6dbd88e..e63dd866 100644
--- a/src/OpenIddict.Validation.AspNetCore/OpenIddict.Validation.AspNetCore.csproj
+++ b/src/OpenIddict.Validation.AspNetCore/OpenIddict.Validation.AspNetCore.csproj
@@ -19,7 +19,9 @@
+ Condition=" ('$(TargetFrameworkIdentifier)' == '.NETCoreApp' And $([MSBuild]::VersionLessThan($(TargetFrameworkVersion), '3.0'))) Or
+ ('$(TargetFrameworkIdentifier)' == '.NETFramework') Or
+ ('$(TargetFrameworkIdentifier)' == '.NETStandard') ">
diff --git a/src/OpenIddict.Validation.DataProtection/OpenIddict.Validation.DataProtection.csproj b/src/OpenIddict.Validation.DataProtection/OpenIddict.Validation.DataProtection.csproj
index 7b1788d8..429b5a53 100644
--- a/src/OpenIddict.Validation.DataProtection/OpenIddict.Validation.DataProtection.csproj
+++ b/src/OpenIddict.Validation.DataProtection/OpenIddict.Validation.DataProtection.csproj
@@ -19,7 +19,9 @@
+ Condition=" ('$(TargetFrameworkIdentifier)' == '.NETCoreApp' And $([MSBuild]::VersionLessThan($(TargetFrameworkVersion), '3.0'))) Or
+ ('$(TargetFrameworkIdentifier)' == '.NETFramework') Or
+ ('$(TargetFrameworkIdentifier)' == '.NETStandard') ">