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:
- 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
Metadata
Metadata
Assignees
Type
Projects
Status
Sprint: Done