From 3cb2ddbe961833079db06dcf622292a2ec790687 Mon Sep 17 00:00:00 2001 From: Friedrich von Never Date: Tue, 21 Sep 2021 23:48:42 +0700 Subject: [PATCH] (#109) Build: add .NET 5 support, update language version Explicit .NET 5 build is required to support TcpClient connection cancellation. --- SharpXMPP.Console/SharpXMPP.Console.csproj | 1 + SharpXMPP.NUnit/SharpXMPP.NUnit.csproj | 4 ++-- SharpXMPP.Shared/SharpXMPP.Shared.csproj | 4 ++-- SharpXMPP.WebSocket/SharpXMPP.WebSocket.csproj | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/SharpXMPP.Console/SharpXMPP.Console.csproj b/SharpXMPP.Console/SharpXMPP.Console.csproj index df24093..d57ded2 100644 --- a/SharpXMPP.Console/SharpXMPP.Console.csproj +++ b/SharpXMPP.Console/SharpXMPP.Console.csproj @@ -3,6 +3,7 @@ Exe netcoreapp3.1 + 9.0 diff --git a/SharpXMPP.NUnit/SharpXMPP.NUnit.csproj b/SharpXMPP.NUnit/SharpXMPP.NUnit.csproj index 7465ab8..581acae 100644 --- a/SharpXMPP.NUnit/SharpXMPP.NUnit.csproj +++ b/SharpXMPP.NUnit/SharpXMPP.NUnit.csproj @@ -1,11 +1,11 @@ - net48;netcoreapp2.1;netcoreapp3.1 + net48;netcoreapp2.1;netcoreapp3.1;net5.0 portable SharpXMPP.NUnit SharpXMPP.NUnit true - 8.0 + 9.0 true true diff --git a/SharpXMPP.Shared/SharpXMPP.Shared.csproj b/SharpXMPP.Shared/SharpXMPP.Shared.csproj index 4339d12..a611245 100644 --- a/SharpXMPP.Shared/SharpXMPP.Shared.csproj +++ b/SharpXMPP.Shared/SharpXMPP.Shared.csproj @@ -1,10 +1,10 @@ - netstandard1.6;net451 + netstandard1.6;net451;net5.0 SharpXMPP.Shared 1.6.1 - 7.2 + 9.0 true diff --git a/SharpXMPP.WebSocket/SharpXMPP.WebSocket.csproj b/SharpXMPP.WebSocket/SharpXMPP.WebSocket.csproj index 139a10d..3883923 100644 --- a/SharpXMPP.WebSocket/SharpXMPP.WebSocket.csproj +++ b/SharpXMPP.WebSocket/SharpXMPP.WebSocket.csproj @@ -3,7 +3,7 @@ netstandard1.6;net451 SharpXMPP.WebSocket 1.6.1 - 7.2 + 9.0