Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageVersion>
<PackageVersion Include="FluentAssertions.Json" Version="6.1.0" />
<PackageVersion Include="Microsoft.AspNetCore.Authorization" Version="8.0.6" />
<PackageVersion Include="Microsoft.AspNetCore.Authorization" Version="9.0.9" />

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Framework version mismatch

Upgrading Microsoft.AspNetCore.Authorization from 8.0.6 to 9.0.9 while the consuming project Ploch.Common.WebUI targets .NET 8.0 creates a framework version mismatch. This will cause runtime failures and compatibility issues. The TargetFramework in src/Common.WebUI/Ploch.Common.WebUI.csproj must be updated to net9.0 to match the package version. Additionally, review other package versions like Microsoft.AspNetCore.Mvc.ViewFeatures (2.2.0) and Microsoft.Extensions.DependencyInjection (8.0.0) for .NET 9.0 compatibility.

Code suggestion
Check the AI-generated fix before applying
 -    <TargetFramework>net8.0</TargetFramework>
 +    <TargetFramework>net9.0</TargetFramework>

Code Review Run #8a8ad3


Should Bito avoid suggestions like this for future reviews? (Manage Rules)

  • Yes, avoid them

<PackageVersion Include="Microsoft.AspNetCore.Mvc.ViewFeatures" Version="2.2.0" />
<PackageVersion Include="Microsoft.Extensions.DependencyInjection" Version="8.0.0" />
<PackageVersion Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="8.0.2" />
Expand Down
Loading