I'm working on getting a site ready to launch and went to apply the latest update of 31.2.0 to our 30.11.3 instance. I first updated the .net version to 10 and had no issues. Then modified the package versions to 31.2.0 on my 4 projects in the solution. When I built the project, I get 3 "Warnings As Errors" on 2 of the 4 projects that are supporting class library projects.
Warning As Error: Detected package downgrade: Microsoft.Extensions.Options.ConfigurationExtensions from 9.0.0 to 8.0.0. Reference the package directly from the project to select a different version.
<xxxx>.Core -> Kentico.Xperience.Core 31.2.0 -> Kentico.Aira.Client 5.1.1 -> Microsoft.Extensions.Options.ConfigurationExtensions (>= 9.0.0)
<xxxx>.Core -> Kentico.Xperience.Core 31.2.0 -> Microsoft.Extensions.Options.ConfigurationExtensions (>= 8.0.0)Warning As Error: Detected package downgrade: Microsoft.Extensions.Logging from 9.0.0 to 8.0.1. Reference the package directly from the project to select a different version.
<xxxx>.Core -> Kentico.Xperience.Core 31.2.0 -> Kentico.Aira.Client 5.1.1 -> Microsoft.Extensions.Http 9.0.0 -> Microsoft.Extensions.Logging (>= 9.0.0)
<xxxx>.Core -> Kentico.Xperience.Core 31.2.0 -> Microsoft.Extensions.Logging (>= 8.0.1)Warning As Error: Detected package downgrade: Microsoft.Extensions.Configuration from 9.0.0 to 8.0.0. Reference the package directly from the project to select a different version.
<xxxx>.Core -> Kentico.Xperience.Core 31.2.0 -> Kentico.Aira.Client 5.1.1 -> Microsoft.Extensions.Http 9.0.0 -> Microsoft.Extensions.Diagnostics 9.0.0 -> Microsoft.Extensions.Configuration (>= 9.0.0)
<xxxx>.Core -> Kentico.Xperience.Core 31.2.0 -> Microsoft.Extensions.Configuration (>= 8.0.0)
I've attempted to "force" the use of the 9.0.0 version in my project files with no success. I can hide the error by adding this to my project file:
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> <NoWarn>NU1605;</NoWarn> </PropertyGroup>
But this only masks the underlying issue.
I'm also getting warnings about security vulnerabilities for Magick.NET-Q8-AnyCPU v14.10.2 that are directly related to core XbyK packages. I also have a ticket into Support regarding this.
Environment
Xperience by Kentico version: [30.11.3]
.NET version: [9]
Execution environment: [Private cloud - Azure