-
Notifications
You must be signed in to change notification settings - Fork 235
Add support for building and testing with .NET 10 preview #3408
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Co-authored-by: keegan-caruso <54109988+keegan-caruso@users.noreply.github.com>
Co-authored-by: keegan-caruso <54109988+keegan-caruso@users.noreply.github.com>
Co-authored-by: keegan-caruso <54109988+keegan-caruso@users.noreply.github.com>
Co-authored-by: keegan-caruso <54109988+keegan-caruso@users.noreply.github.com>
Co-authored-by: keegan-caruso <54109988+keegan-caruso@users.noreply.github.com>
@copilot aot-check.yml also needs to be updated to include .NET 10 preview |
Co-authored-by: keegan-caruso <54109988+keegan-caruso@users.noreply.github.com>
Co-authored-by: keegan-caruso <54109988+keegan-caruso@users.noreply.github.com>
@copilot .github/workflows/codeql-analysis.yml needs to be updated to include .NET 10 preview |
Co-authored-by: keegan-caruso <54109988+keegan-caruso@users.noreply.github.com>
@copilot Can you fix the errors that are occurring in the Run unit tests job? |
… version Co-authored-by: keegan-caruso <54109988+keegan-caruso@users.noreply.github.com>
Fixed the unit test failures in commit 9941dd8. The errors were caused by two issues:
The "Run unit tests" job should now successfully build and test with .NET 10.0 framework. |
Summary
This PR adds comprehensive support for building and testing Microsoft Identity Web with .NET 10 preview versions using the established conditional compilation pattern with the
TargetNetNext=true
flag.What's Changed
🔧 Build System & SDK Configuration
global.json
to support .NET 10 preview SDK (10.0.100-preview.1.25307.7) withallowPrerelease
flagnet10.0
to allTargetNetNext
conditional framework configurations across the solutionDirectory.Build.props
with proper version constraints📦 Project Files Updated
Directory.Build.props
)tests/Directory.Build.props
)tests/DevApps/Directory.Build.props
)TargetNetNext
support (integration tests, performance tests, E2E tests, common test libraries)🚀 CI/CD Pipeline Updates
continue-on-error: true
for early preview stability📖 Documentation & Validation
README.md
with .NET 10 preview build instructionschangelog.md
documenting the new featureUsage
To build and test with .NET 10 preview support:
Backward Compatibility
✅ All changes are conditional and maintain full backward compatibility. Production builds remain unchanged unless explicitly enabling
TargetNetNext=true
. This follows the same pattern established for .NET 9 preview support.Testing
TargetNetNext
configurationsRelated Issues
Addresses the requirement to enable early testing and compatibility validation with the latest .NET preview versions, supporting the community's need to test Microsoft Identity Web against upcoming .NET releases.
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.