diff --git a/src/Directory.Build.props b/src/Directory.Build.props index 84212213ef..6330b17112 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -3,7 +3,7 @@ - net8.0;net9.0 + net8.0;net9.0;net10.0 diff --git a/src/apps/Directory.Build.props b/src/apps/Directory.Build.props index 50f33a49d1..0d8817302b 100644 --- a/src/apps/Directory.Build.props +++ b/src/apps/Directory.Build.props @@ -1,6 +1,6 @@ - net9.0 + net10.0 latest enable enable diff --git a/src/modules/Elsa.Expressions.JavaScript/Elsa.Expressions.JavaScript.csproj b/src/modules/Elsa.Expressions.JavaScript/Elsa.Expressions.JavaScript.csproj index 7bf175399f..782df8f86e 100644 --- a/src/modules/Elsa.Expressions.JavaScript/Elsa.Expressions.JavaScript.csproj +++ b/src/modules/Elsa.Expressions.JavaScript/Elsa.Expressions.JavaScript.csproj @@ -9,6 +9,10 @@ + + + + diff --git a/src/modules/Elsa.Persistence.EFCore/Modules/Management/WorkflowDefinitionStore.cs b/src/modules/Elsa.Persistence.EFCore/Modules/Management/WorkflowDefinitionStore.cs index 7c2ffc8966..e805caeaa0 100644 --- a/src/modules/Elsa.Persistence.EFCore/Modules/Management/WorkflowDefinitionStore.cs +++ b/src/modules/Elsa.Persistence.EFCore/Modules/Management/WorkflowDefinitionStore.cs @@ -221,7 +221,9 @@ private IQueryable Filter(IQueryable que if (filter.IsSystem != null) queryable = filter.IsSystem == true ? queryable.Where(x => x.IsSystem == true) +#pragma warning disable CS0472 // The result of the expression is always the same since a value of this type is never equal to 'null' : queryable.Where(x => x.IsSystem == false || x.IsSystem == null!); +#pragma warning restore CS0472 // The result of the expression is always the same since a value of this type is never equal to 'null' if (filter.IsReadonly != null) queryable = queryable.Where(x => x.IsReadonly == filter.IsReadonly); return queryable; diff --git a/src/modules/Elsa.Workflows.Core/Elsa.Workflows.Core.csproj b/src/modules/Elsa.Workflows.Core/Elsa.Workflows.Core.csproj index 9c4e5234e1..e400062f4d 100644 --- a/src/modules/Elsa.Workflows.Core/Elsa.Workflows.Core.csproj +++ b/src/modules/Elsa.Workflows.Core/Elsa.Workflows.Core.csproj @@ -19,6 +19,10 @@ + + + + diff --git a/test/Directory.Build.props b/test/Directory.Build.props index b2da2195fa..42bf5fb489 100644 --- a/test/Directory.Build.props +++ b/test/Directory.Build.props @@ -3,7 +3,7 @@ - net9.0 + net10.0 enable enable false diff --git a/test/component/Elsa.Workflows.ComponentTests/Elsa.Workflows.ComponentTests.csproj b/test/component/Elsa.Workflows.ComponentTests/Elsa.Workflows.ComponentTests.csproj index 4922b31c23..7d47511274 100644 --- a/test/component/Elsa.Workflows.ComponentTests/Elsa.Workflows.ComponentTests.csproj +++ b/test/component/Elsa.Workflows.ComponentTests/Elsa.Workflows.ComponentTests.csproj @@ -1,7 +1,6 @@ - net9.0 enable enable diff --git a/test/integration/Elsa.Activities.IntegrationTests/Elsa.Activities.IntegrationTests.csproj b/test/integration/Elsa.Activities.IntegrationTests/Elsa.Activities.IntegrationTests.csproj index aa9c67c89f..511e3c7ffd 100644 --- a/test/integration/Elsa.Activities.IntegrationTests/Elsa.Activities.IntegrationTests.csproj +++ b/test/integration/Elsa.Activities.IntegrationTests/Elsa.Activities.IntegrationTests.csproj @@ -1,7 +1,6 @@ - net9.0 [Elsa.Workflows.Core]* 25 diff --git a/test/integration/Elsa.JavaScript.IntegrationTests/Elsa.JavaScript.IntegrationTests.csproj b/test/integration/Elsa.JavaScript.IntegrationTests/Elsa.JavaScript.IntegrationTests.csproj index 0c109a83ed..b7f1ee64db 100644 --- a/test/integration/Elsa.JavaScript.IntegrationTests/Elsa.JavaScript.IntegrationTests.csproj +++ b/test/integration/Elsa.JavaScript.IntegrationTests/Elsa.JavaScript.IntegrationTests.csproj @@ -1,7 +1,6 @@ - net9.0 [Elsa.Expressions.JavaScript]* diff --git a/test/integration/Elsa.Resilience.IntegrationTests/Elsa.Resilience.IntegrationTests.csproj b/test/integration/Elsa.Resilience.IntegrationTests/Elsa.Resilience.IntegrationTests.csproj index ba05d918fc..a77331da1a 100644 --- a/test/integration/Elsa.Resilience.IntegrationTests/Elsa.Resilience.IntegrationTests.csproj +++ b/test/integration/Elsa.Resilience.IntegrationTests/Elsa.Resilience.IntegrationTests.csproj @@ -1,7 +1,6 @@ - net9.0 [Elsa.Resilience]*,[Elsa.Http]*,[Elsa.Workflows.Core]* diff --git a/test/performance/Directory.Build.props b/test/performance/Directory.Build.props index 674d5ca9b9..9565fdad1b 100644 --- a/test/performance/Directory.Build.props +++ b/test/performance/Directory.Build.props @@ -1,7 +1,37 @@ - - - - + + + + + enable + enable + false + Exe + false + + false + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/test/performance/Elsa.Workflows.PerformanceTests/Elsa.Workflows.PerformanceTests.csproj b/test/performance/Elsa.Workflows.PerformanceTests/Elsa.Workflows.PerformanceTests.csproj index 244833891b..57ec54ffe4 100644 --- a/test/performance/Elsa.Workflows.PerformanceTests/Elsa.Workflows.PerformanceTests.csproj +++ b/test/performance/Elsa.Workflows.PerformanceTests/Elsa.Workflows.PerformanceTests.csproj @@ -1,14 +1,6 @@ - - net9.0 - enable - enable - - false - Exe - false - +