Skip to content

Upgrade dotnet 10#21

Merged
OsirisTerje merged 9 commits into
mainfrom
upgrade-dotnet-10
Jul 1, 2026
Merged

Upgrade dotnet 10#21
OsirisTerje merged 9 commits into
mainfrom
upgrade-dotnet-10

Conversation

@OsirisTerje

@OsirisTerje OsirisTerje commented Jun 27, 2026

Copy link
Copy Markdown
Member

Upgraded to 5.0.0-alpha.100.20 and .net 10
All other packages also updated to latest version

Also changed to CPM.

Copilot AI review requested due to automatic review settings June 27, 2026 19:44

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR upgrades the sample projects to target .NET 10, switches NuGet dependencies to Central Package Management via Directory.Packages.props, and refreshes solution/infra artifacts to align with the new setup (including updating NUnit usage in the assertion syntax samples).

Changes:

  • Update multiple SDK-style projects from net6.0 to net10.0.
  • Introduce Central Package Management (Directory.Packages.props) and remove per-project package versions.
  • Replace the legacy .sln with a new Samples.slnx, plus various repo hygiene/config updates (nuget.config, .gitignore, upgrade scenario docs).

Reviewed changes

Copilot reviewed 23 out of 24 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
TimeoutRetryAttributeExample/TimeoutRetryAttributeExample.csproj Normalizes XML header/BOM in legacy project file.
syntax/AssertSyntaxTests.cs Updates assertion samples (moves away from ClassicAssert, adds analyzer pragmas, tweaks sample cases).
syntax/AssertSyntax.csproj Targets net10.0 and switches to CPM-managed package references.
Samples.slnx Adds new XML solution format listing the main sample projects.
Samples.sln Removes legacy Visual Studio solution file.
nuget.config Normalizes formatting and renames the MyGet source key.
money/Money.csproj Targets net10.0 and switches to CPM-managed package references.
ExpectedExceptionExample/ExpectedExceptionExample.csproj Targets net10.0 and switches to CPM-managed package references.
Directory.Packages.props Adds central package version definitions (CPM).
DataDrivenTests/DataDrivenTests.csproj Targets net10.0 and switches to CPM-managed package references.
.gitignore Expands ignore rules to a full Visual Studio / VS Code baseline.
.github/upgrades/scenarios/dotnet-version-upgrade/upgrade-options.md Adds upgrade scenario documentation (currently inconsistent with actual PR scope).
.github/upgrades/scenarios/dotnet-version-upgrade/tasks.md Adds upgrade progress tracking doc (currently duplicated/contradictory entries).
.github/upgrades/scenarios/dotnet-version-upgrade/scenario.json Adds scenario metadata for the upgrade flow.
.github/upgrades/scenarios/dotnet-version-upgrade/scenario-instructions.md Adds scenario instructions (contains non-portable machine-local path).
.github/upgrades/scenarios/dotnet-version-upgrade/plan.md Adds upgrade plan doc (currently scoped to a single project, inconsistent with PR).
.github/upgrades/scenarios/dotnet-version-upgrade/assessment.* Adds assessment outputs for the upgrade scenario (md/json/csv).
.github/upgrades/scenarios/dotnet-version-upgrade/dependencies-health.json Adds dependency report output for the upgrade scenario.
.github/upgrades/scenarios/dotnet-version-upgrade/tasks/** Adds per-task docs and progress details for the upgrade scenario.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread syntax/AssertSyntaxTests.cs Outdated
Comment thread Directory.Packages.props Outdated
Comment thread Directory.Packages.props Outdated
Comment thread .github/upgrades/scenarios/dotnet-version-upgrade/tasks.md Outdated
Comment thread .github/upgrades/scenarios/dotnet-version-upgrade/tasks.md Outdated
Comment thread .github/upgrades/scenarios/dotnet-version-upgrade/upgrade-options.md Outdated
Comment thread .github/upgrades/scenarios/dotnet-version-upgrade/scenario-instructions.md Outdated
OsirisTerje and others added 5 commits June 28, 2026 09:40
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@OsirisTerje OsirisTerje merged commit 962b1db into main Jul 1, 2026
4 checks passed
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