Skip to content

.Net: Bug: Packages downgrade (NU1005) with Semantic Kernel v.153 #12212

Closed

Description

Describe the bug
When trying to add the Microsoft.SemanticKernel v1.53 NuGet package to a new .NET 9.0 Console application, I get two errors about packages downgrade:

NU1605: Warning As Error: Detected package downgrade: Microsoft.Extensions.Logging.Abstractions from 9.0.5 to 8.0.3. Reference the package directly from the project to select a different version. 
 ConsoleApp1 -> Microsoft.SemanticKernel 1.53.0 -> Microsoft.SemanticKernel.Core 1.53.0 -> Microsoft.SemanticKernel.Abstractions 1.53.0 -> Microsoft.Extensions.AI 9.5.0 -> Microsoft.Extensions.Logging.Abstractions (>= 9.0.5) 
 ConsoleApp1 -> Microsoft.SemanticKernel 1.53.0 -> Microsoft.SemanticKernel.Core 1.53.0 -> Microsoft.SemanticKernel.Abstractions 1.53.0 -> Microsoft.Extensions.Logging.Abstractions (>= 8.0.3)
NU1605: Warning As Error: Detected package downgrade: System.Diagnostics.DiagnosticSource from 9.0.5 to 8.0.1. Reference the package directly from the project to select a different version. 
 ConsoleApp1 -> Microsoft.SemanticKernel 1.53.0 -> Microsoft.SemanticKernel.Core 1.53.0 -> Microsoft.SemanticKernel.Abstractions 1.53.0 -> Microsoft.Extensions.AI 9.5.0 -> System.Diagnostics.DiagnosticSource (>= 9.0.5) 
 ConsoleApp1 -> Microsoft.SemanticKernel 1.53.0 -> Microsoft.SemanticKernel.Core 1.53.0 -> Microsoft.SemanticKernel.Abstractions 1.53.0 -> System.Diagnostics.DiagnosticSource (>= 8.0.1)

To Reproduce
Steps to reproduce the behavior:

  1. Create a new .NET 9.0 Console Application
  2. Add the Microsoft.SemanticKernel v1.53 NuGet package
  3. See error

Screenshots

Image

Platform

  • Language: C#
  • Source: NuGet package version 1.53
  • IDE: Visual Studio 2022
  • OS: Windows

Additional context
The issue does not happen with v1.52

Activity

  1. changed the title [-]Bug: Packages downgrade (NU1005) with Semantic Kernel v.153[/-] [+].Net: Bug: Packages downgrade (NU1005) with Semantic Kernel v.153[/+] on May 21, 2025
  2. moved this from Bug to Sprint: In Review in Semantic Kernelon May 21, 2025
  3. rogerbarreto commented on May 21, 2025

    @rogerbarreto
    Member

    Marco Minerva (@marcominerva) Thanks for providing the issue, problem is being worked out in our next patch release.

    For now to unblock you, reference the Microsoft.Extensions.Logging.Abstractions version 9.0.5 directly into your project before attempting to install SK 1.53.0.

  4. added a commit that references this issue on May 21, 2025
    53f0cb8
  5. moved this from Sprint: In Review to Sprint: Done in Semantic Kernelon May 21, 2025
  6. added a commit that references this issue on Sep 15, 2025
    b482365
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

.NETIssue or Pull requests regarding .NET codebugSomething isn't working

Type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions