-
Notifications
You must be signed in to change notification settings - Fork 1.9k
MAUI 7.0.92 requires Microsoft.Extensions.Logging.Abstractions 7.0.0 while .NET 7.0.9 7.0.1 #16244
Copy link
Copy link
Closed
Labels
area-infrastructureCI, Maestro / Coherency, upstream dependencies/versionsCI, Maestro / Coherency, upstream dependencies/versionsfixed-in-7.0.100fixed-in-7.0.101fixed-in-7.0.96Look for this fix in 7.0.96 SR8!Look for this fix in 7.0.96 SR8!p/1Work that is important, and has been scheduled for release in this or an upcoming sprintWork that is important, and has been scheduled for release in this or an upcoming sprintpartner/cat 😻this is an issue that impacts one of our partners or a customer our advisory team is engaged withthis is an issue that impacts one of our partners or a customer our advisory team is engaged withplatform/androidplatform/iosplatform/windowst/bugSomething isn't workingSomething isn't working
Milestone
Description
Description
I'm not able to upgrade project using latest MAUI with .NET 7.0.9 because of Microsoft.Extensions.Logging.Abstractions conflict.
Library with Microsoft Extensions.Localization requires 7.0.1 while net7.0-android and others needs 7.0.0
I've error:
NU1605: Warning As Error: Detected package downgrade: Microsoft.Extensions.Logging.Abstractions from 7.0.1 to 7.0.0. Reference the package directly from the project to select a different version.
Steps to Reproduce
- Create MAUI Hybrid project
- Create Microsoft.NET.Sdk.Razor library with Microsoft.Extensions.Localization
- Add library reference to MAUI project
- Compile
Link to public reproduction project repository
not needed
Version with bug
Unknown/Other
Last version that worked well
7.0.49
Affected platforms
iOS, Android, Windows
Affected platform versions
.NET MAUI 7
Did you find any workaround?
no
Relevant log output
Restoring packages for C:\SCF\SCFLib\SCFLib\SCFLib.csproj...
NU1605: Warning As Error: Detected package downgrade: Microsoft.Extensions.Logging.Abstractions from 7.0.1 to 7.0.0. Reference the package directly from the project to select a different version.
SCFLib -> Microsoft.Extensions.Localization 7.0.9 -> Microsoft.Extensions.Logging.Abstractions (>= 7.0.1)
SCFLib -> Microsoft.Extensions.Logging.Abstractions (>= 7.0.0)
NU1605: Warning As Error: Detected package downgrade: Microsoft.Extensions.Logging.Abstractions from 7.0.1 to 7.0.0. Reference the package directly from the project to select a different version.
SCFLib -> Microsoft.AspNetCore.Components.Web 7.0.9 -> Microsoft.AspNetCore.Components 7.0.9 -> Microsoft.AspNetCore.Authorization 7.0.9 -> Microsoft.Extensions.Logging.Abstractions (>= 7.0.1)
SCFLib -> Microsoft.Extensions.Logging.Abstractions (>= 7.0.0)
Package restore failed. Rolling back package changes for 'SCFLib'.
Time Elapsed: 00:00:00.0982852Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-infrastructureCI, Maestro / Coherency, upstream dependencies/versionsCI, Maestro / Coherency, upstream dependencies/versionsfixed-in-7.0.100fixed-in-7.0.101fixed-in-7.0.96Look for this fix in 7.0.96 SR8!Look for this fix in 7.0.96 SR8!p/1Work that is important, and has been scheduled for release in this or an upcoming sprintWork that is important, and has been scheduled for release in this or an upcoming sprintpartner/cat 😻this is an issue that impacts one of our partners or a customer our advisory team is engaged withthis is an issue that impacts one of our partners or a customer our advisory team is engaged withplatform/androidplatform/iosplatform/windowst/bugSomething isn't workingSomething isn't working