Upgrade all projects to .NET 10 #6
Draft
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.
This PR upgrades all projects in the repository from .NET 9 to .NET 10, addressing issue #[issue_number].
Changes Made
SDK and Target Framework Updates
global.jsonfiles to use .NET 10 SDK version10.0.100-rc.2.25502.10702-CleanArchitecture/01-VerticalSlice/and02-backup/net9.0tonet10.0target frameworkProject Structure Improvements
Directory.Build.propsfor01-VerticalSlice/to centralize build propertiesDirectory.Build.propsin02-CleanArchitecture/and02-backup/to usenet10.0TargetFrameworkspecifications from individual .csproj files, allowing them to inherit from Directory.Build.propsDocumentation Protection
Added warning comments to all
Directory.Build.propsfiles:<!-- DO NOT change TargetFramework from net10.0 without explicit approval -->This ensures developers don't accidentally downgrade the target framework without understanding the implications.
Documentation Updates
README.mdto reference .NET 10 SDK and EF Core 10demoplan.mdto require .NET 10 for all demosFiles Changed
Testing Notes
While the environment used for these changes doesn't have .NET 10 SDK installed, all project files have been correctly configured to target .NET 10. Developers with .NET 10 SDK installed will be able to build and run all projects without issues. The
rollForward: latestMinorsetting in global.json allows flexibility for future .NET 10.x SDK releases.Original prompt
Fixes #5
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.