From a24ca0435fed8e76d4b7d7da740b4eecdf564df2 Mon Sep 17 00:00:00 2001 From: Sipke Schoorstra Date: Mon, 24 Feb 2025 22:29:51 +0100 Subject: [PATCH] Refactor projects to target .NET 8.0 exclusively. Dropped support for .NET 6.0 and .NET 7.0 by removing multi-targeting configurations. Updated dependencies to use versions compatible with .NET 8.0, ensuring consistency across all projects. This simplifies maintenance and aligns with the latest .NET standards. --- Directory.Packages.props | 30 ++----------------- ...Net.EntityFrameworkCore.PostgresSql.csproj | 2 +- src/Directory.Build.props | 2 +- .../Elsa.Server.LoadBalancer.csproj | 2 +- .../Elsa.Server.Web/Elsa.Server.Web.csproj | 2 +- .../Elsa.ServerAndStudio.Web.csproj | 2 +- .../Elsa.Studio.Web/Elsa.Studio.Web.csproj | 2 +- .../ElsaStudioWebAssembly.csproj | 2 +- src/modules/Elsa.Common/Elsa.Common.csproj | 4 --- src/modules/Elsa.Dapper/Elsa.Dapper.csproj | 3 -- ...artz.EntityFrameworkCore.PostgreSql.csproj | 3 -- src/modules/Elsa.Quartz/Elsa.Quartz.csproj | 2 +- 12 files changed, 10 insertions(+), 46 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index fe346ae0e..8f97a65f2 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -112,34 +112,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -168,5 +140,7 @@ + + \ No newline at end of file diff --git a/samples/aspnet/Elsa.Samples.AspNet.EntityFrameworkCore.PostgresSql/Elsa.Samples.AspNet.EntityFrameworkCore.PostgresSql.csproj b/samples/aspnet/Elsa.Samples.AspNet.EntityFrameworkCore.PostgresSql/Elsa.Samples.AspNet.EntityFrameworkCore.PostgresSql.csproj index b0593ffb9..ff765f2dc 100644 --- a/samples/aspnet/Elsa.Samples.AspNet.EntityFrameworkCore.PostgresSql/Elsa.Samples.AspNet.EntityFrameworkCore.PostgresSql.csproj +++ b/samples/aspnet/Elsa.Samples.AspNet.EntityFrameworkCore.PostgresSql/Elsa.Samples.AspNet.EntityFrameworkCore.PostgresSql.csproj @@ -1,7 +1,7 @@ - net7.0;net8.0 + net8.0 diff --git a/src/Directory.Build.props b/src/Directory.Build.props index 843d67641..ca5601874 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -3,7 +3,7 @@ - net6.0;net7.0;net8.0 + net8.0 diff --git a/src/bundles/Elsa.Server.LoadBalancer/Elsa.Server.LoadBalancer.csproj b/src/bundles/Elsa.Server.LoadBalancer/Elsa.Server.LoadBalancer.csproj index ab5408636..90dec8fea 100644 --- a/src/bundles/Elsa.Server.LoadBalancer/Elsa.Server.LoadBalancer.csproj +++ b/src/bundles/Elsa.Server.LoadBalancer/Elsa.Server.LoadBalancer.csproj @@ -1,7 +1,7 @@ - net7.0;net8.0 + net8.0 Linux false latest diff --git a/src/bundles/Elsa.Server.Web/Elsa.Server.Web.csproj b/src/bundles/Elsa.Server.Web/Elsa.Server.Web.csproj index 40bce5491..dd057dc90 100644 --- a/src/bundles/Elsa.Server.Web/Elsa.Server.Web.csproj +++ b/src/bundles/Elsa.Server.Web/Elsa.Server.Web.csproj @@ -1,7 +1,7 @@ - net7.0;net8.0 + net8.0 Linux false latest diff --git a/src/bundles/Elsa.ServerAndStudio.Web/Elsa.ServerAndStudio.Web.csproj b/src/bundles/Elsa.ServerAndStudio.Web/Elsa.ServerAndStudio.Web.csproj index e2d1c97f8..5064e0750 100644 --- a/src/bundles/Elsa.ServerAndStudio.Web/Elsa.ServerAndStudio.Web.csproj +++ b/src/bundles/Elsa.ServerAndStudio.Web/Elsa.ServerAndStudio.Web.csproj @@ -1,7 +1,7 @@ - net7.0;net8.0 + net8.0 Linux false diff --git a/src/bundles/Elsa.Studio.Web/Elsa.Studio.Web.csproj b/src/bundles/Elsa.Studio.Web/Elsa.Studio.Web.csproj index 2cb27ad13..e425e69b4 100644 --- a/src/bundles/Elsa.Studio.Web/Elsa.Studio.Web.csproj +++ b/src/bundles/Elsa.Studio.Web/Elsa.Studio.Web.csproj @@ -1,7 +1,7 @@ - net7.0;net8.0 + net8.0 Linux false diff --git a/src/bundles/ElsaStudioWebAssembly/ElsaStudioWebAssembly.csproj b/src/bundles/ElsaStudioWebAssembly/ElsaStudioWebAssembly.csproj index eba2a2fd1..02c5db25a 100644 --- a/src/bundles/ElsaStudioWebAssembly/ElsaStudioWebAssembly.csproj +++ b/src/bundles/ElsaStudioWebAssembly/ElsaStudioWebAssembly.csproj @@ -1,7 +1,7 @@ - net7.0;net8.0 + net8.0 diff --git a/src/modules/Elsa.Common/Elsa.Common.csproj b/src/modules/Elsa.Common/Elsa.Common.csproj index aeee7011b..869fd520a 100644 --- a/src/modules/Elsa.Common/Elsa.Common.csproj +++ b/src/modules/Elsa.Common/Elsa.Common.csproj @@ -18,8 +18,4 @@ - - - - diff --git a/src/modules/Elsa.Dapper/Elsa.Dapper.csproj b/src/modules/Elsa.Dapper/Elsa.Dapper.csproj index dc9a4279f..5d4affe7a 100644 --- a/src/modules/Elsa.Dapper/Elsa.Dapper.csproj +++ b/src/modules/Elsa.Dapper/Elsa.Dapper.csproj @@ -14,9 +14,6 @@ - - - diff --git a/src/modules/Elsa.Quartz.EntityFrameworkCore.PostgreSql/Elsa.Quartz.EntityFrameworkCore.PostgreSql.csproj b/src/modules/Elsa.Quartz.EntityFrameworkCore.PostgreSql/Elsa.Quartz.EntityFrameworkCore.PostgreSql.csproj index 9b887cfcd..cfc79647c 100644 --- a/src/modules/Elsa.Quartz.EntityFrameworkCore.PostgreSql/Elsa.Quartz.EntityFrameworkCore.PostgreSql.csproj +++ b/src/modules/Elsa.Quartz.EntityFrameworkCore.PostgreSql/Elsa.Quartz.EntityFrameworkCore.PostgreSql.csproj @@ -15,9 +15,6 @@ - - - diff --git a/src/modules/Elsa.Quartz/Elsa.Quartz.csproj b/src/modules/Elsa.Quartz/Elsa.Quartz.csproj index 4498802c4..9776c86fc 100644 --- a/src/modules/Elsa.Quartz/Elsa.Quartz.csproj +++ b/src/modules/Elsa.Quartz/Elsa.Quartz.csproj @@ -1,7 +1,7 @@ - net6.0;net7.0;net8.0 + net8.0 Provides integration with the Quartz.NET library and provide am implementation of Elsa's IJobScheduler using Quartz.NET.