Aspire.Hosting.SqlServer has dependency issues in 9.1 with TFM splitting #7779
Labels
area-integrations
Issues pertaining to Aspire Integrations packages
Milestone
Is there an existing issue for this?
Describe the bug
When upgrading the Community Toolkit (which targets net8.0 and net9.0) we hit a problem with the Aspire.Hosting.SqlServer package and some transient dependencies:
This shows up in VS like so:
The problem seems to be due to the TFM splitting from the Microsoft.Data.SqlClient package and the upgrade to that in 9.1, but the hosting package isn't doing multiple TFM itself.
Expected Behavior
In-place upgrade should not result in large dependency failures like this.
Steps To Reproduce
It can be see on our CI too - /~https://github.com/CommunityToolkit/Aspire/actions/runs/13532723492/job/37818388929?pr=475
Exceptions (if any)
No response
.NET Version info
No response
Anything else?
You should be able to work around it by manually upgrading the dependency of
Microsoft.Extensions.Logging.Abstractions
to 9.0.2 when building for .NET 9.0.The text was updated successfully, but these errors were encountered: