You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
.Net: Bug: Packages downgrade (NU1005) with Semantic Kernel v.153 #12212
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:
Create a new .NET 9.0 Console Application
Add the Microsoft.SemanticKernel v1.53 NuGet package
See error
Screenshots
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
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
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.
Activity
[-]Bug: Packages downgrade (NU1005) with Semantic Kernel v.153[/-][+].Net: Bug: Packages downgrade (NU1005) with Semantic Kernel v.153[/+]rogerbarreto commentedon May 21, 2025
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.Abstractionsversion 9.0.5 directly into your project before attempting to install SK 1.53.0..Net: Fix (NU1005) Drop unneeded direct references + SK Version 1.53.…
.Net: Fix (NU1005) Drop unneeded direct references + SK Version 1.53.…