Prepare for .NET 10 support - Update infrastructure and target frameworks #304
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 prepares MiniScaffold for .NET 10 support by modernizing the infrastructure and updating target frameworks to support current and future .NET versions.
Changes Made
Infrastructure Updates
actions/setup-dotnet@v5
latestMinor
rollForward policyglobal.json
files updated to use .NET 9 SDKTarget Framework Modernization
net8.0;net9.0
for broader compatibilitynet9.0
for latest runtime featuresnet9.0
for optimal testing experiencenet9.0
for modern tooling supportPackage Updates
Directory.Packages.props
files updated consistentlyTemplate Experience
Validation
✅ Template generation works correctly for both library and console projects
✅ Generated projects build and test successfully
✅ Multi-targeting produces artifacts for both .NET 8 and 9
✅ Integration tests pass (comprehensive 28-test suite)
✅ Code review completed with no issues
✅ Security scan shows no vulnerabilities
✅ DevContainer build failure resolved - version mismatch between global.json and devcontainer.json fixed
Future .NET 10 Support
The infrastructure is now ready for .NET 10:
net10.0
when stableThis provides a smooth migration path when .NET 10 reaches general availability.
Fixes #297
Original prompt
Fixes #297
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.