Upgrade dotnet 10#21
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
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.0tonet10.0. - Introduce Central Package Management (
Directory.Packages.props) and remove per-project package versions. - Replace the legacy
.slnwith a newSamples.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.
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>
…harp-samples into upgrade-dotnet-10
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Upgraded to 5.0.0-alpha.100.20 and .net 10
All other packages also updated to latest version
Also changed to CPM.