diff --git a/.github/workflows/dotnet-buildandtest.yml b/.github/workflows/dotnet-buildandtest.yml index 89798aba..32648a71 100644 --- a/.github/workflows/dotnet-buildandtest.yml +++ b/.github/workflows/dotnet-buildandtest.yml @@ -19,11 +19,12 @@ jobs: dotnet-version: | 8.x 9.x + 10.x - name: Show dotnet version run: | dotnet --list-sdks dotnet --list-runtimes - name: Build with dotnet run: dotnet build ./src/Mapster.sln - - name: Run tests on .NET 9.0 + - name: Run tests on .NET 10.0 run: dotnet test --verbosity normal ./src/Mapster.sln diff --git a/src/Benchmark/Benchmark.csproj b/src/Benchmark/Benchmark.csproj index ba4b6b9f..c72b6185 100644 --- a/src/Benchmark/Benchmark.csproj +++ b/src/Benchmark/Benchmark.csproj @@ -2,7 +2,7 @@ Exe - net9.0 + net10.0 true **/*.g.cs diff --git a/src/ExpressionDebugger/ExpressionDebugger.csproj b/src/ExpressionDebugger/ExpressionDebugger.csproj index bc3bd8d3..aeb9b209 100644 --- a/src/ExpressionDebugger/ExpressionDebugger.csproj +++ b/src/ExpressionDebugger/ExpressionDebugger.csproj @@ -1,7 +1,7 @@  - net8.0;net9.0 + net10.0;net8.0;net9.0 True Chaowlert Chaisrichalermpol Step into debugging from linq expressions @@ -12,7 +12,7 @@ True true ExpressionDebugger.snk - 9.0.0-pre01 + 9.0.0-pre02 https://github.com/chaowlert/ExpressionDebugger/blob/master/LICENSE 8.0 enable diff --git a/src/ExpressionTranslator/ExpressionTranslator.csproj b/src/ExpressionTranslator/ExpressionTranslator.csproj index ece11ace..2d0d8018 100644 --- a/src/ExpressionTranslator/ExpressionTranslator.csproj +++ b/src/ExpressionTranslator/ExpressionTranslator.csproj @@ -1,7 +1,7 @@  - net8.0;net9.0 + net10.0;net8.0;net9.0; True Chaowlert Chaisrichalermpol Translate from linq expressions to C# code @@ -12,7 +12,7 @@ True true ExpressionTranslator.snk - 9.0.0-pre01 + 9.0.0-pre02 ExpressionDebugger MIT icon.png diff --git a/src/Mapster.Async.Tests/Mapster.Async.Tests.csproj b/src/Mapster.Async.Tests/Mapster.Async.Tests.csproj index f2f0bbf1..0e4001f1 100644 --- a/src/Mapster.Async.Tests/Mapster.Async.Tests.csproj +++ b/src/Mapster.Async.Tests/Mapster.Async.Tests.csproj @@ -1,7 +1,7 @@  - net9.0;net8.0; + net10.0;net9.0;net8.0; false diff --git a/src/Mapster.Async/Mapster.Async.csproj b/src/Mapster.Async/Mapster.Async.csproj index 75b9eebf..08322fb4 100644 --- a/src/Mapster.Async/Mapster.Async.csproj +++ b/src/Mapster.Async/Mapster.Async.csproj @@ -1,13 +1,13 @@  - net9.0;net8.0; + net10.0;net9.0;net8.0; Async supports for Mapster true Mapster;Async true Mapster.Async.snk - 9.0.0-pre01 + 9.0.0-pre02 diff --git a/src/Mapster.Core/Mapster.Core.csproj b/src/Mapster.Core/Mapster.Core.csproj index c3d159a9..c7d46f6c 100644 --- a/src/Mapster.Core/Mapster.Core.csproj +++ b/src/Mapster.Core/Mapster.Core.csproj @@ -1,10 +1,10 @@  Lightweight library for Mapster and Mapster CodeGen - net9.0;net8.0; + net10.0;net9.0;net8.0; Mapster.Core mapster - 9.0.0-pre01 + 9.0.0-pre02 enable true true diff --git a/src/Mapster.DependencyInjection.Tests/Mapster.DependencyInjection.Tests.csproj b/src/Mapster.DependencyInjection.Tests/Mapster.DependencyInjection.Tests.csproj index 53f9a5be..36ab3717 100644 --- a/src/Mapster.DependencyInjection.Tests/Mapster.DependencyInjection.Tests.csproj +++ b/src/Mapster.DependencyInjection.Tests/Mapster.DependencyInjection.Tests.csproj @@ -1,7 +1,7 @@  - net9.0;net8.0; + net10.0;net9.0;net8.0; false diff --git a/src/Mapster.DependencyInjection/Mapster.DependencyInjection.csproj b/src/Mapster.DependencyInjection/Mapster.DependencyInjection.csproj index 1b945dce..10f93f5d 100644 --- a/src/Mapster.DependencyInjection/Mapster.DependencyInjection.csproj +++ b/src/Mapster.DependencyInjection/Mapster.DependencyInjection.csproj @@ -1,13 +1,13 @@  - net9.0;net8.0; + net10.0;net9.0;net8.0; Dependency Injection supports for Mapster true Mapster;DependencyInjection true Mapster.DependencyInjection.snk - 9.0.0-pre01 + 9.0.0-pre02 diff --git a/src/Mapster.EF6/Mapster.EF6.csproj b/src/Mapster.EF6/Mapster.EF6.csproj index 16e42db5..1db3e866 100644 --- a/src/Mapster.EF6/Mapster.EF6.csproj +++ b/src/Mapster.EF6/Mapster.EF6.csproj @@ -1,14 +1,14 @@  - net9.0;net8.0; + net10.0;net9.0;net8.0; EF6 plugin for Mapster true Mapster;EF6 True true Mapster.EF6.snk - 9.0.0-pre01 + 9.0.0-pre02 diff --git a/src/Mapster.EFCore.Tests/Mapster.EFCore.Tests.csproj b/src/Mapster.EFCore.Tests/Mapster.EFCore.Tests.csproj index d3729dfd..8c6e5896 100644 --- a/src/Mapster.EFCore.Tests/Mapster.EFCore.Tests.csproj +++ b/src/Mapster.EFCore.Tests/Mapster.EFCore.Tests.csproj @@ -1,7 +1,7 @@  - net9.0;net8.0; + net10.0;net9.0;net8.0; false diff --git a/src/Mapster.EFCore/Mapster.EFCore.csproj b/src/Mapster.EFCore/Mapster.EFCore.csproj index 43cd952f..f98888ed 100644 --- a/src/Mapster.EFCore/Mapster.EFCore.csproj +++ b/src/Mapster.EFCore/Mapster.EFCore.csproj @@ -1,14 +1,14 @@  - net9.0;net8.0; + net10.0;net9.0;net8.0; EFCore plugin for Mapster true Mapster;EFCore True true Mapster.EFCore.snk - 9.0.0-pre01 + 9.0.0-pre02 diff --git a/src/Mapster.Immutable.Tests/Mapster.Immutable.Tests.csproj b/src/Mapster.Immutable.Tests/Mapster.Immutable.Tests.csproj index ca5fda1f..981bbe08 100644 --- a/src/Mapster.Immutable.Tests/Mapster.Immutable.Tests.csproj +++ b/src/Mapster.Immutable.Tests/Mapster.Immutable.Tests.csproj @@ -1,7 +1,7 @@  - net9.0;net8.0; + net10.0;net9.0;net8.0; false diff --git a/src/Mapster.Immutable/Mapster.Immutable.csproj b/src/Mapster.Immutable/Mapster.Immutable.csproj index 6127eb37..626a2a4b 100644 --- a/src/Mapster.Immutable/Mapster.Immutable.csproj +++ b/src/Mapster.Immutable/Mapster.Immutable.csproj @@ -1,13 +1,13 @@  - net9.0;net8.0; + net10.0;net9.0;net8.0; Immutable collection supports for Mapster true Mapster;Immutable true Mapster.Immutable.snk - 9.0.0-pre01 + 9.0.0-pre02 enable diff --git a/src/Mapster.JsonNet.Tests/Mapster.JsonNet.Tests.csproj b/src/Mapster.JsonNet.Tests/Mapster.JsonNet.Tests.csproj index 2b0c5b6c..7fefc86d 100644 --- a/src/Mapster.JsonNet.Tests/Mapster.JsonNet.Tests.csproj +++ b/src/Mapster.JsonNet.Tests/Mapster.JsonNet.Tests.csproj @@ -1,7 +1,7 @@  - net9.0;net8.0; + net10.0;net9.0;net8.0; false diff --git a/src/Mapster.JsonNet/Mapster.JsonNet.csproj b/src/Mapster.JsonNet/Mapster.JsonNet.csproj index 1d7cda43..a2ce37c9 100644 --- a/src/Mapster.JsonNet/Mapster.JsonNet.csproj +++ b/src/Mapster.JsonNet/Mapster.JsonNet.csproj @@ -1,13 +1,13 @@  - net9.0;net8.0; + net10.0;net9.0;net8.0; Json.net conversion supports for Mapster true Mapster;Json.net true Mapster.JsonNet.snk - 9.0.0-pre01 + 9.0.0-pre02 diff --git a/src/Mapster.SourceGenerator/Mapster.SourceGenerator.csproj b/src/Mapster.SourceGenerator/Mapster.SourceGenerator.csproj index 21deb5a6..e2e00b6a 100644 --- a/src/Mapster.SourceGenerator/Mapster.SourceGenerator.csproj +++ b/src/Mapster.SourceGenerator/Mapster.SourceGenerator.csproj @@ -1,13 +1,13 @@  - net9.0;net8.0; + net10.0;net9.0;net8.0; Source generator to generate mapping using Mapster source-generator;mapster true Mapster.SourceGenerator.snk https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet5/nuget/v3/index.json ;$(RestoreAdditionalProjectSources) - 9.0.0-pre01 + 9.0.0-pre02 enable false diff --git a/src/Mapster.Tests/Mapster.Tests.csproj b/src/Mapster.Tests/Mapster.Tests.csproj index 438405ee..7cab31e1 100644 --- a/src/Mapster.Tests/Mapster.Tests.csproj +++ b/src/Mapster.Tests/Mapster.Tests.csproj @@ -1,7 +1,7 @@ - net9.0;net8.0; + net10.0;net9.0;net8.0; false Mapster.Tests Mapster.Tests.snk diff --git a/src/Mapster.Tool.Tests/Mapster.Tool.Tests.csproj b/src/Mapster.Tool.Tests/Mapster.Tool.Tests.csproj index e440ff10..7f85e555 100644 --- a/src/Mapster.Tool.Tests/Mapster.Tool.Tests.csproj +++ b/src/Mapster.Tool.Tests/Mapster.Tool.Tests.csproj @@ -1,7 +1,7 @@  - net9.0;net8.0 + net10.0;net9.0;net8.0 enable enable diff --git a/src/Mapster.Tool/Mapster.Tool.csproj b/src/Mapster.Tool/Mapster.Tool.csproj index 1dfc90eb..acb5e2db 100644 --- a/src/Mapster.Tool/Mapster.Tool.csproj +++ b/src/Mapster.Tool/Mapster.Tool.csproj @@ -2,7 +2,7 @@ Exe - net9.0;net8.0; + net10.0;net9.0;net8.0; true true dotnet-mapster @@ -10,7 +10,7 @@ Mapster;Tool true Mapster.Tool.snk - 9.0.0-pre01 + 9.0.0-pre02 enable diff --git a/src/Mapster/Mapster.csproj b/src/Mapster/Mapster.csproj index f8299fd2..5f93b726 100644 --- a/src/Mapster/Mapster.csproj +++ b/src/Mapster/Mapster.csproj @@ -4,7 +4,7 @@ A fast, fun and stimulating object to object mapper. Kind of like AutoMapper, just simpler and way, way faster. Copyright (c) 2016 Chaowlert Chaisrichalermpol, Eric Swann chaowlert;eric_swann - net9.0;net8.0; + net10.0;net9.0;net8.0; Mapster A fast, fun and stimulating object to object mapper. Kind of like AutoMapper, just simpler and way, way faster. Mapster @@ -16,7 +16,7 @@ true Mapster - 9.0.0-pre01 + 9.0.0-pre02 enable 1701;1702;8618 diff --git a/src/Sample.AspNetCore/Sample.AspNetCore.csproj b/src/Sample.AspNetCore/Sample.AspNetCore.csproj index c24c9428..a681b6fd 100644 --- a/src/Sample.AspNetCore/Sample.AspNetCore.csproj +++ b/src/Sample.AspNetCore/Sample.AspNetCore.csproj @@ -1,7 +1,7 @@  - net9.0;net8.0; + net10.0;net9.0;net8.0; diff --git a/src/Sample.CodeGen/Sample.CodeGen.csproj b/src/Sample.CodeGen/Sample.CodeGen.csproj index 9c0bf793..78092145 100644 --- a/src/Sample.CodeGen/Sample.CodeGen.csproj +++ b/src/Sample.CodeGen/Sample.CodeGen.csproj @@ -1,7 +1,7 @@  - net9.0;net8.0; + net10.0;net9.0;net8.0; enable diff --git a/src/TemplateTest/TemplateTest.csproj b/src/TemplateTest/TemplateTest.csproj index 96caad44..a2b7df8a 100644 --- a/src/TemplateTest/TemplateTest.csproj +++ b/src/TemplateTest/TemplateTest.csproj @@ -1,7 +1,7 @@  - net9.0;net8.0; + net10.0;net9.0;net8.0; enable false