Skip to content

upgrade to .NET 10; upgrade packages#434

Open
xj-ms wants to merge 1 commit into
mainfrom
user/jx/net10
Open

upgrade to .NET 10; upgrade packages#434
xj-ms wants to merge 1 commit into
mainfrom
user/jx/net10

Conversation

@xj-ms
Copy link
Copy Markdown
Contributor

@xj-ms xj-ms commented May 14, 2026

Just upgrading the framework to .NET 10.
Support for .NET 6 is dropped while .NET 8 support is kept.
No changes to .NET Standard and .NET Core 3.1 support

Certain Nuget packages have also been also upgraded to new versions

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the repository’s tool/test target frameworks and several dependency versions as part of moving to .NET 10, while keeping .NET 8 and existing .NET Standard / netcoreapp3.1 targets.

Changes:

  • Switch multiple tools and test projects from net8.0 to net10.0 and add net10.0 to the Runtime.NetCoreApp multi-targeting list.
  • Upgrade several NuGet dependencies (e.g., Microsoft.Extensions.*, System.Text.Json, Newtonsoft.Json.Schema, System.Reflection.Emit, NuGet.Versioning).
  • Update Nerdbank.GitVersioning to a newer version via Directory.Build.props.

Reviewed changes

Copilot reviewed 16 out of 16 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/Tools/PlugInConfigurationEditor/PlugInConfigurationEditor.csproj Move tool to net10.0 and bump System.CommandLine beta version.
src/PluginsSystem/Tools/Microsoft.Performance.Toolkit.Plugins.Cli/Microsoft.Performance.Toolkit.Plugins.Cli.csproj Upgrade CLI dependencies (notably Microsoft.Extensions.* and Newtonsoft packages).
src/PluginsSystem/Tools/Microsoft.Performance.Toolkit.Plugins.Cli.Tests/Microsoft.Performance.Toolkit.Plugins.Cli.Tests.csproj Move CLI tests to net10.0.
src/PluginsSystem/Microsoft.Performance.Toolkit.Plugins.Runtime/Microsoft.Performance.Toolkit.Plugins.Runtime.csproj Upgrade DistributedLock.FileSystem.
src/PluginsSystem/Microsoft.Performance.Toolkit.Plugins.Runtime.Tests/Microsoft.Performance.Toolkit.Plugins.Runtime.Tests.csproj Move runtime tests to net10.0.
src/PluginsSystem/Microsoft.Performance.Toolkit.Plugins.Core.Tests/Microsoft.Performance.Toolkit.Plugins.Core.Tests.csproj Move core tests to net10.0 (plus encoding/BOM change).
src/Microsoft.Performance.Toolkit.Engine/Microsoft.Performance.Toolkit.Engine.csproj Upgrade System.Reflection.Emit.
src/Microsoft.Performance.Toolkit.Engine.Tests/Microsoft.Performance.Toolkit.Engine.Tests.csproj Move engine tests to net10.0.
src/Microsoft.Performance.Toolkit.Engine.Tests.Driver/Microsoft.Performance.Toolkit.Engine.Tests.Driver.csproj Move test driver app to net10.0.
src/Microsoft.Performance.SDK/Microsoft.Performance.SDK.csproj Upgrade NuGet.Versioning (staying on a netstandard-compatible major) and System.Reflection.Emit.
src/Microsoft.Performance.SDK.Tests/Microsoft.Performance.SDK.Tests.csproj Move SDK tests to net10.0.
src/Microsoft.Performance.SDK.Runtime.Tests/Microsoft.Performance.SDK.Runtime.Tests.csproj Move runtime tests to net10.0.
src/Microsoft.Performance.SDK.Runtime.NetCoreApp/Microsoft.Performance.SDK.Runtime.NetCoreApp.csproj Drop net6.0 and add net10.0 to multi-targeting; upgrade System.Reflection.MetadataLoadContext.
src/Microsoft.Performance.SDK.Runtime.NetCoreApp.Tests/Microsoft.Performance.SDK.Runtime.NetCoreApp.Tests.csproj Move tests to net10.0, upgrade Roslyn package, and add CopyLocalLockFileAssemblies.
src/Directory.Build.targets Central package update for System.Text.Json to 10.0.8.
src/Directory.Build.props Upgrade Nerdbank.GitVersioning package version.

Comment thread src/Directory.Build.props
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants