Skip to content
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

[Bug] Recent changes bring package downgrades in consuming libraries (not released yet) #3061

Open
jmprieur opened this issue Dec 16, 2024 · 0 comments · Fixed by #3062
Open
Labels
Bug Product is not functioning as expected
Milestone

Comments

@jmprieur
Copy link
Contributor

Which version of Microsoft.IdentityModel are you using?
Note that to get help, you need to run the latest version.

Where is the issue?
#3058 attempts to fix package downgrades but bring other problems. See

Repro

Attempt to build the Unified Builds with the dev version of IdentityModel.

Expected behavior
The build passes

Actual behavior
D:\a_work\1\s\microsoft-identity-web\src\Microsoft.Identity.Web.Certificateless\Microsoft.Identity.Web.Certificateless.csproj : error NU1605: Warning As Error: Detected package downgrade: Microsoft.Extensions.Logging.Abstractions from 3.1.0 to 2.1.0. Reference the package directly from the project to select a different version. [D:\a_work\1\s\microsoft-identity-web\tests\E2E Tests\NET 7 tests\IntegrationTests\IntegrationTests.csproj]
D:\a_work\1\s\microsoft-identity-web\src\Microsoft.Identity.Web.Certificateless\Microsoft.Identity.Web.Certificateless.csproj : error NU1605: Microsoft.Identity.Web.Certificateless -> Microsoft.IdentityModel.JsonWebTokens 8.3.1 -> Microsoft.IdentityModel.Tokens 8.3.1 -> Microsoft.Extensions.Logging.Abstractions (>= 3.1.0) [D:\a_work\1\s\microsoft-identity-web\tests\E2E Tests\NET 7 tests\IntegrationTests\IntegrationTests.csproj]
D:\a_work\1\s\microsoft-identity-web\src\Microsoft.Identity.Web.Certificateless\Microsoft.Identity.Web.Certificateless.csproj : error NU1605: Microsoft.Identity.Web.Certificateless -> Microsoft.Extensions.Logging.Abstractions (>= 2.1.0) [D:\a_work\1\s\microsoft-identity-web\tests\E2E Tests\NET 7 tests\IntegrationTests\IntegrationTests.csproj]

Possible solution
Differentiate the references based on the target framework (Ilike IdWeb and MISE do)

@pmaytak pmaytak added Bug Product is not functioning as expected and removed needs attention untriaged labels Dec 18, 2024
@pmaytak pmaytak added this to the 8.3.1 milestone Dec 18, 2024
@pmaytak pmaytak linked a pull request Dec 18, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Product is not functioning as expected
Projects
None yet
2 participants