-
Notifications
You must be signed in to change notification settings - Fork 808
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
Ensure all HealthChecks libraries have a .NETCoreApp TFM. #2185
Conversation
This ensures that when libraries and apps who depend on the HealthChecks libraries get the correct transitive dependences for .NETCoreApp TFMs (for example Microsoft.Bcl.AsyncInterfaces). This follows the following [guidance](https://learn.microsoft.com/dotnet/standard/library-guidance/cross-platform-targeting): ✔️ CONSIDER multi-targeting even if your source code is the same for all targets, when your project has any library or package dependencies. Fix #2180 Fix #2084 Fix #2163
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.
LGTM, thank you for your contribution @eerhardt !
src/HealthChecks.System/DependencyInjection/SystemHealthCheckBuilderExtensions.cs
Show resolved
Hide resolved
LGTM |
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #2185 +/- ##
==========================================
+ Coverage 64.11% 66.73% +2.62%
==========================================
Files 248 154 -94
Lines 8359 3547 -4812
Branches 586 374 -212
==========================================
- Hits 5359 2367 -2992
+ Misses 2852 1101 -1751
+ Partials 148 79 -69
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
This ensures that when libraries and apps who depend on the HealthChecks libraries get the correct transitive dependences for .NETCoreApp TFMs (for example Microsoft.Bcl.AsyncInterfaces).
This follows the following guidance:
✔️ CONSIDER multi-targeting even if your source code is the same for all targets, when your project has any library or package dependencies.
Fix #2180
Fix #2084
Fix #2163
cc @DamianEdwards