Update sdk version and switch to System.Composition.#4052
Conversation
There was a problem hiding this comment.
Pull request overview
Updates the tooling dependencies used by the GenAPI-related projects by moving from the legacy Microsoft.Composition package to the actively maintained System.Composition, and bumps the pinned .NET 10 SDK patch version used by builds/CI.
Changes:
- Replace
Microsoft.CompositionwithSystem.Compositionin the GenAPI CCI extensions project. - Update centralized tool package versions to include
System.Composition(and dropMicrosoft.Composition). - Bump
global.jsonSDK from10.0.103to10.0.104.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| tools/GenAPI/Microsoft.Cci.Extensions/Microsoft.Cci.Extensions.csproj | Switches MEF dependency to System.Composition for the CCI extensions tool project. |
| tools/Directory.Packages.props | Central package versioning updated to use System.Composition instead of Microsoft.Composition. |
| global.json | Updates the pinned .NET SDK patch version used by dotnet CLI and CI. |
You can also share your feedback on Copilot code review. Take the survey.
Codecov Report✅ All modified and coverable lines are covered by tests.
Additional details and impacted files@@ Coverage Diff @@
## main #4052 +/- ##
==========================================
- Coverage 75.42% 68.15% -7.27%
==========================================
Files 280 275 -5
Lines 43834 66924 +23090
==========================================
+ Hits 33060 45613 +12553
- Misses 10774 21311 +10537
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
System.Composition is still actively maintained: https://www.nuget.org/packages/System.Composition
Validated that this addresses component governance warnings: https://sqlclientdrivers.visualstudio.com/ADO.Net/_git/dotnet-sqlclient/pullrequest/7114