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/ExpressionDebugger/ExpressionDebugger.csproj b/src/ExpressionDebugger/ExpressionDebugger.csproj index bc3bd8d3..59e98815 100644 --- a/src/ExpressionDebugger/ExpressionDebugger.csproj +++ b/src/ExpressionDebugger/ExpressionDebugger.csproj @@ -1,7 +1,7 @@  - net8.0;net9.0 + net10.0;net9.0;net8.0; True Chaowlert Chaisrichalermpol Step into debugging from linq expressions @@ -12,7 +12,7 @@ True true ExpressionDebugger.snk - 9.0.0-pre01 + 10.0.0-pre01 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..d2da32b5 100644 --- a/src/ExpressionTranslator/ExpressionTranslator.csproj +++ b/src/ExpressionTranslator/ExpressionTranslator.csproj @@ -1,7 +1,7 @@  - net8.0;net9.0 + net10.0;net9.0;net8.0 True Chaowlert Chaisrichalermpol Translate from linq expressions to C# code @@ -12,7 +12,7 @@ True true ExpressionTranslator.snk - 9.0.0-pre01 + 10.0.0-pre01 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..c031e5cf 100644 --- a/src/Mapster.Async.Tests/Mapster.Async.Tests.csproj +++ b/src/Mapster.Async.Tests/Mapster.Async.Tests.csproj @@ -1,8 +1,8 @@  - net9.0;net8.0; - + net10.0;net9.0;net8.0; + true false diff --git a/src/Mapster.Async/Mapster.Async.csproj b/src/Mapster.Async/Mapster.Async.csproj index 75b9eebf..8c980a39 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 + 10.0.0-pre01 diff --git a/src/Mapster.Core/Mapster.Core.csproj b/src/Mapster.Core/Mapster.Core.csproj index c3d159a9..715f5974 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; + netstandard2.0 Mapster.Core - mapster - 9.0.0-pre01 + Mapster + 10.0.0-pre01 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..4a3b0ed0 100644 --- a/src/Mapster.DependencyInjection.Tests/Mapster.DependencyInjection.Tests.csproj +++ b/src/Mapster.DependencyInjection.Tests/Mapster.DependencyInjection.Tests.csproj @@ -1,8 +1,8 @@  - net9.0;net8.0; - + net10.0;net9.0;net8.0; + true false diff --git a/src/Mapster.DependencyInjection/Mapster.DependencyInjection.csproj b/src/Mapster.DependencyInjection/Mapster.DependencyInjection.csproj index 1b945dce..246ad210 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 + 10.0.0-pre01 diff --git a/src/Mapster.EF6/Mapster.EF6.csproj b/src/Mapster.EF6/Mapster.EF6.csproj index 16e42db5..acfe07f5 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 + 10.0.0-pre01 diff --git a/src/Mapster.EFCore.Tests/Mapster.EFCore.Tests.csproj b/src/Mapster.EFCore.Tests/Mapster.EFCore.Tests.csproj index d3729dfd..94549270 100644 --- a/src/Mapster.EFCore.Tests/Mapster.EFCore.Tests.csproj +++ b/src/Mapster.EFCore.Tests/Mapster.EFCore.Tests.csproj @@ -1,8 +1,8 @@  - net9.0;net8.0; - + net10.0;net9.0;net8.0; + true false diff --git a/src/Mapster.EFCore/Mapster.EFCore.csproj b/src/Mapster.EFCore/Mapster.EFCore.csproj index 43cd952f..d721aa9e 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 + 10.0.0-pre01 diff --git a/src/Mapster.Immutable.Tests/Mapster.Immutable.Tests.csproj b/src/Mapster.Immutable.Tests/Mapster.Immutable.Tests.csproj index ca5fda1f..027742ff 100644 --- a/src/Mapster.Immutable.Tests/Mapster.Immutable.Tests.csproj +++ b/src/Mapster.Immutable.Tests/Mapster.Immutable.Tests.csproj @@ -1,8 +1,8 @@  - net9.0;net8.0; - + net10.0;net9.0;net8.0; + true false diff --git a/src/Mapster.Immutable/Mapster.Immutable.csproj b/src/Mapster.Immutable/Mapster.Immutable.csproj index 6127eb37..1f36f685 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 + 10.0.0-pre01 enable diff --git a/src/Mapster.JsonNet.Tests/Mapster.JsonNet.Tests.csproj b/src/Mapster.JsonNet.Tests/Mapster.JsonNet.Tests.csproj index 2b0c5b6c..b4c020b6 100644 --- a/src/Mapster.JsonNet.Tests/Mapster.JsonNet.Tests.csproj +++ b/src/Mapster.JsonNet.Tests/Mapster.JsonNet.Tests.csproj @@ -1,8 +1,8 @@  - net9.0;net8.0; - + net10.0;net9.0;net8.0; + true false diff --git a/src/Mapster.JsonNet/Mapster.JsonNet.csproj b/src/Mapster.JsonNet/Mapster.JsonNet.csproj index 1d7cda43..3201ca43 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 + 10.0.0-pre01 diff --git a/src/Mapster.SourceGenerator/Mapster.SourceGenerator.csproj b/src/Mapster.SourceGenerator/Mapster.SourceGenerator.csproj index 21deb5a6..b4b88947 100644 --- a/src/Mapster.SourceGenerator/Mapster.SourceGenerator.csproj +++ b/src/Mapster.SourceGenerator/Mapster.SourceGenerator.csproj @@ -1,13 +1,13 @@  - net9.0;net8.0; + netstandard2.0 Source generator to generate mapping using Mapster - source-generator;mapster + Mapster;source-generator true Mapster.SourceGenerator.snk https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet5/nuget/v3/index.json ;$(RestoreAdditionalProjectSources) - 9.0.0-pre01 + 10.0.0-pre01 enable false @@ -23,7 +23,7 @@ - + diff --git a/src/Mapster.Tests/Mapster.Tests.csproj b/src/Mapster.Tests/Mapster.Tests.csproj index 438405ee..d6b78546 100644 --- a/src/Mapster.Tests/Mapster.Tests.csproj +++ b/src/Mapster.Tests/Mapster.Tests.csproj @@ -1,7 +1,8 @@ - net9.0;net8.0; + net10.0;net9.0;net8.0; + true 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..702c02e6 100644 --- a/src/Mapster.Tool.Tests/Mapster.Tool.Tests.csproj +++ b/src/Mapster.Tool.Tests/Mapster.Tool.Tests.csproj @@ -1,10 +1,10 @@  - net9.0;net8.0 + net10.0;net9.0;net8.0 enable enable - + true false diff --git a/src/Mapster.Tool/Mapster.Tool.csproj b/src/Mapster.Tool/Mapster.Tool.csproj index 1dfc90eb..8abc6c96 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 + 10.0.0-pre01 enable diff --git a/src/Mapster/Directory.Build.props b/src/Mapster/Directory.Build.props index 50586750..184391ef 100644 --- a/src/Mapster/Directory.Build.props +++ b/src/Mapster/Directory.Build.props @@ -1,7 +1,7 @@ - - false + true + Mapster.snk true diff --git a/src/Mapster/Mapster.csproj b/src/Mapster/Mapster.csproj index f8299fd2..bc6f2dd1 100644 --- a/src/Mapster/Mapster.csproj +++ b/src/Mapster/Mapster.csproj @@ -4,11 +4,11 @@ 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 - Mapper;AutoMapper;Fast;Mapping + Mapster;Mapper;AutoMapper;Fast;Mapping icon.png https://cloud.githubusercontent.com/assets/5763993/26522718/d16f3e42-4330-11e7-9b78-f8c7402624e7.png https://github.com/MapsterMapper/Mapster @@ -16,7 +16,7 @@ true Mapster - 9.0.0-pre01 + 10.0.0-pre01 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..ae4dff09 100644 --- a/src/TemplateTest/TemplateTest.csproj +++ b/src/TemplateTest/TemplateTest.csproj @@ -1,9 +1,9 @@  - net9.0;net8.0; + net10.0;net9.0;net8.0; enable - + true false