Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 1, 2025

Upgrades the solution from .NET 9 to .NET 10 and Aspire from 9.4.1 to 13.0.1.

Changes

Framework & SDK

  • global.json: SDK version 9.0.010.0.0
  • Directory.Packages.props: TargetFramework net9.0net10.0
  • Aspire SDK in eShopWeb.AppHost.csproj: 9.4.113.0.1

Package Updates

  • Microsoft.AspNetCore.* packages: 9.0.610.0.0
  • Microsoft.EntityFrameworkCore.* packages: 9.0.x10.0.0
  • Aspire.* packages: 9.4.113.0.1
  • Microsoft.Extensions.* packages: 9.x10.0.0
  • OpenTelemetry.* packages: 1.12.01.14.0
  • Test packages: xunit.v3 3.2.1, MSTest 4.0.2, Microsoft.NET.Test.Sdk 18.0.1
  • Azure.Identity: 1.14.01.14.2 (required by EF Core 10 transitive deps)

GitHub Workflows

  • dotnetcore.yml: dotnet-version 9.0.x10.0.x
  • richnav.yml: dotnet-version 9.0.x10.0.x

VS Code Configuration

  • launch.json: Updated program path from net9.0net10.0

All 113 tests pass.

Original prompt

This section details on the original issue you should resolve

<issue_title>Update to net10</issue_title>
<issue_description>Now that .NET 10 has shipped let's upgrade to use it. And Aspire (see related issue)</issue_description>

<agent_instructions>Please clarify questions or concerns wherever possible
</agent_instructions>

Comments on the Issue (you are @copilot in this section)

@KyleMcMaster This should include updating dependencies to .NET 10 as well as Aspire to version 13.x. Please update any directory.Build.props file to have a TargetFramework value of `net10` and use central package management for Nuget packages.

Please run all tests and verify functionality wherever possible.</comment_new>


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: KyleMcMaster <11415127+KyleMcMaster@users.noreply.github.com>
Copilot AI changed the title [WIP] Update project to use .NET 10 and Aspire 13.x Update to .NET 10 and Aspire 13.x Dec 1, 2025
Copilot AI requested a review from KyleMcMaster December 1, 2025 20:07
@ardalis
Copy link
Contributor

ardalis commented Dec 5, 2025

@copilot update the workflow(s) to use net10 as well and verify they are passing.

https://github.com/NimblePros/eShopOnWeb/blob/main/.github/workflows/dotnetcore.yml

Co-authored-by: ardalis <782127+ardalis@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Dec 5, 2025

@copilot update the workflow(s) to use net10 as well and verify they are passing.

https://github.com/NimblePros/eShopOnWeb/blob/main/.github/workflows/dotnetcore.yml

Updated both dotnetcore.yml and richnav.yml workflows to use dotnet-version: '10.0.x' in commit 9cbd851. The build and tests pass locally - the CI workflow will verify it's working in the PR.

Copilot AI requested a review from ardalis December 5, 2025 17:49
@KyleMcMaster
Copy link
Member

@copilot Please update the VS Code launch.json to reference net10 paths.

https://github.com/NimblePros/eShopOnWeb/blob/main/.vscode/launch.json

Co-authored-by: KyleMcMaster <11415127+KyleMcMaster@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Dec 5, 2025

@copilot Please update the VS Code launch.json to reference net10 paths.

https://github.com/NimblePros/eShopOnWeb/blob/main/.vscode/launch.json

Updated the VS Code launch.json to use net10.0 path in commit 9dc9ed4.

@KyleMcMaster KyleMcMaster marked this pull request as ready for review December 5, 2025 20:04
Copy link
Member

@KyleMcMaster KyleMcMaster left a comment

Choose a reason for hiding this comment

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

I think this is a good first pass. If anything additional needs updated we can path that up using the robots in a follow up PR

@ardalis ardalis merged commit c743915 into main Dec 5, 2025
3 checks passed
@KyleMcMaster KyleMcMaster deleted the copilot/update-to-net10 branch December 5, 2025 22:59
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.

Update to net10

3 participants