-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Update target frameworks for Maui and Testing projects #4174
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
Conversation
… when running on Windows
Refactored target framework definitions in Directory.Build.props to improve cross-platform support for Maui and test projects. Updated ReactiveUI.Testing.csproj to use the correct target frameworks property. These changes ensure more accurate and flexible multi-platform builds.
There was a problem hiding this comment.
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 refactors target framework definitions in MSBuild property files to improve cross-platform support for MAUI and testing projects. The changes address issue #4171 by fixing target framework property usage and ensuring proper platform-specific framework resolution.
- Updates ReactiveUI.Testing.csproj to use the correct target frameworks property
- Refactors MAUI target framework definitions to properly handle Windows-specific targets
- Fixes target framework concatenation to avoid overwriting existing values on Windows
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
File | Description |
---|---|
src/ReactiveUI.Testing/ReactiveUI.Testing.csproj | Changed target frameworks property from ReactiveUIFinalModernTargetFrameworks to ReactiveUIFinalTargetFrameworks |
src/Directory.Build.props | Refactored MAUI test targets and modern target frameworks to properly handle Windows-specific builds and avoid overwriting existing values |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4174 +/- ##
==========================================
- Coverage 35.25% 34.24% -1.01%
==========================================
Files 140 144 +4
Lines 6039 6234 +195
Branches 890 926 +36
==========================================
+ Hits 2129 2135 +6
- Misses 3746 3932 +186
- Partials 164 167 +3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Introduces a new ReactiveUITestingTargets property to include netstandard2.0, modern .NET targets, and additional Windows-specific frameworks for testing. Updates the ReactiveUI.Testing project to use these targets. Also updates API approval files to reflect changes in target framework attributes.
Thank you so much @ChrisPulman :) |
… when running on Windows
What kind of change does this PR introduce?
fix for #4170
What is the current behavior?
#4170
What is the new behavior?
Refactored target framework definitions in Directory.Build.props to improve cross-platform support for Maui and test projects. Updated ReactiveUI.Testing.csproj to use the correct target frameworks property. These changes ensure more accurate and flexible multi-platform builds.
What might this PR break?
Resolves a previous issue
Please check if the PR fulfills these requirements
Other information: