From 10f2a84c0e3ab19300dfb7c6506de8a276b41df4 Mon Sep 17 00:00:00 2001 From: dudu Date: Sun, 29 Nov 2020 14:25:16 +0800 Subject: [PATCH 1/3] Change TargetFramework to net5.0 for test projects --- Enyim.Caching.Tests/Enyim.Caching.Tests.csproj | 2 +- Enyim.StressTest/Enyim.StressTest.csproj | 3 +-- MemcachedTest/MemcachedTest.csproj | 2 +- .../SampleWebApp.IntegrationTests.csproj | 2 +- SampleWebApp/SampleWebApp.csproj | 2 +- 5 files changed, 5 insertions(+), 6 deletions(-) diff --git a/Enyim.Caching.Tests/Enyim.Caching.Tests.csproj b/Enyim.Caching.Tests/Enyim.Caching.Tests.csproj index e8fd04a5..70067893 100644 --- a/Enyim.Caching.Tests/Enyim.Caching.Tests.csproj +++ b/Enyim.Caching.Tests/Enyim.Caching.Tests.csproj @@ -1,6 +1,6 @@  - netcoreapp3.0 + net5.0 false diff --git a/Enyim.StressTest/Enyim.StressTest.csproj b/Enyim.StressTest/Enyim.StressTest.csproj index 26a610ad..8f999805 100644 --- a/Enyim.StressTest/Enyim.StressTest.csproj +++ b/Enyim.StressTest/Enyim.StressTest.csproj @@ -2,8 +2,7 @@ Exe - netcoreapp3.0 - latest + net5.0 diff --git a/MemcachedTest/MemcachedTest.csproj b/MemcachedTest/MemcachedTest.csproj index e8fd04a5..70067893 100755 --- a/MemcachedTest/MemcachedTest.csproj +++ b/MemcachedTest/MemcachedTest.csproj @@ -1,6 +1,6 @@  - netcoreapp3.0 + net5.0 false diff --git a/SampleWebApp.IntegrationTests/SampleWebApp.IntegrationTests.csproj b/SampleWebApp.IntegrationTests/SampleWebApp.IntegrationTests.csproj index 38b7a082..3ccb9931 100644 --- a/SampleWebApp.IntegrationTests/SampleWebApp.IntegrationTests.csproj +++ b/SampleWebApp.IntegrationTests/SampleWebApp.IntegrationTests.csproj @@ -1,7 +1,7 @@  - netcoreapp3.0 + net5.0 false diff --git a/SampleWebApp/SampleWebApp.csproj b/SampleWebApp/SampleWebApp.csproj index 31917339..9d7cddbf 100644 --- a/SampleWebApp/SampleWebApp.csproj +++ b/SampleWebApp/SampleWebApp.csproj @@ -1,7 +1,7 @@  - netcoreapp3.0 + net5.0 Enyim.Caching.SampleWebApp Enyim.Caching.SampleWebApp From 1e216e17750745620427596f0c264e06841777f1 Mon Sep 17 00:00:00 2001 From: dudu Date: Sun, 29 Nov 2020 14:27:52 +0800 Subject: [PATCH 2/3] Update packages --- Enyim.Caching.Tests/Enyim.Caching.Tests.csproj | 10 +++++----- Enyim.Caching/Enyim.Caching.csproj | 12 ++++++------ Enyim.StressTest/Enyim.StressTest.csproj | 8 ++++---- MemcachedTest/MemcachedTest.csproj | 10 +++++----- .../SampleWebApp.IntegrationTests.csproj | 6 +++--- 5 files changed, 23 insertions(+), 23 deletions(-) diff --git a/Enyim.Caching.Tests/Enyim.Caching.Tests.csproj b/Enyim.Caching.Tests/Enyim.Caching.Tests.csproj index 70067893..5e1f93de 100644 --- a/Enyim.Caching.Tests/Enyim.Caching.Tests.csproj +++ b/Enyim.Caching.Tests/Enyim.Caching.Tests.csproj @@ -4,12 +4,12 @@ false - - - - + + + + - + all runtime; build; native; contentfiles; analyzers diff --git a/Enyim.Caching/Enyim.Caching.csproj b/Enyim.Caching/Enyim.Caching.csproj index 352d6b83..717ef173 100755 --- a/Enyim.Caching/Enyim.Caching.csproj +++ b/Enyim.Caching/Enyim.Caching.csproj @@ -16,13 +16,13 @@ - - - - - + + + + + - + diff --git a/Enyim.StressTest/Enyim.StressTest.csproj b/Enyim.StressTest/Enyim.StressTest.csproj index 8f999805..656f2fcf 100644 --- a/Enyim.StressTest/Enyim.StressTest.csproj +++ b/Enyim.StressTest/Enyim.StressTest.csproj @@ -17,10 +17,10 @@ - - - - + + + + diff --git a/MemcachedTest/MemcachedTest.csproj b/MemcachedTest/MemcachedTest.csproj index 70067893..5e1f93de 100755 --- a/MemcachedTest/MemcachedTest.csproj +++ b/MemcachedTest/MemcachedTest.csproj @@ -4,12 +4,12 @@ false - - - - + + + + - + all runtime; build; native; contentfiles; analyzers diff --git a/SampleWebApp.IntegrationTests/SampleWebApp.IntegrationTests.csproj b/SampleWebApp.IntegrationTests/SampleWebApp.IntegrationTests.csproj index 3ccb9931..aaf3375c 100644 --- a/SampleWebApp.IntegrationTests/SampleWebApp.IntegrationTests.csproj +++ b/SampleWebApp.IntegrationTests/SampleWebApp.IntegrationTests.csproj @@ -6,10 +6,10 @@ - - + + - + all runtime; build; native; contentfiles; analyzers From 1abc3eaf3575c4de50d5c5a58902068fdfe86c68 Mon Sep 17 00:00:00 2001 From: dudu Date: Sun, 29 Nov 2020 14:32:46 +0800 Subject: [PATCH 3/3] Change TargetFrameworks to netstandard2.1 and net5.0 --- Enyim.Caching/Enyim.Caching.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Enyim.Caching/Enyim.Caching.csproj b/Enyim.Caching/Enyim.Caching.csproj index 717ef173..ec299fc2 100755 --- a/Enyim.Caching/Enyim.Caching.csproj +++ b/Enyim.Caching/Enyim.Caching.csproj @@ -3,7 +3,7 @@ EnyimMemcachedCore is a Memcached client library for .NET Core. Usage: Add services.AddEnyimMemcached(...) and app.UseEnyimMemcached() in Startup. Add IMemcachedClient into constructor. cnblogs.com - netstandard2.0 + netstandard2.1;net5.0 true EnyimMemcachedCore EnyimMemcachedCore