Skip to content
Open
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
4 changes: 2 additions & 2 deletions BARS-Client-V2.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Hosting" Version="9.0.9" />
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="9.0.9" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="10.0.10" />
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="10.0.10" />
<PackageReference Include="Microsoft.Extensions.Http" Version="9.0.9" />
Comment on lines +38 to 40

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Mixed major versions of Microsoft.Extensions packages

Microsoft.Extensions.Hosting and Microsoft.Extensions.Logging.Console are now on 10.0.10 while Microsoft.Extensions.Http remains on 9.0.9. These packages share transitive dependencies (e.g. Microsoft.Extensions.DependencyInjection, Microsoft.Extensions.Logging). NuGet's minimum-version-wins resolution will pull in 10.x versions of those shared deps, and Microsoft.Extensions.Http 9.x was not tested against 10.x internals — this mismatch can surface as MissingMethodException or TypeLoadException at runtime for any HTTP-related DI registration code.

Prompt To Fix With AI
This is a comment left during a code review.
Path: BARS-Client-V2.csproj
Line: 38-40

Comment:
**Mixed major versions of Microsoft.Extensions packages**

`Microsoft.Extensions.Hosting` and `Microsoft.Extensions.Logging.Console` are now on `10.0.10` while `Microsoft.Extensions.Http` remains on `9.0.9`. These packages share transitive dependencies (e.g. `Microsoft.Extensions.DependencyInjection`, `Microsoft.Extensions.Logging`). NuGet's minimum-version-wins resolution will pull in 10.x versions of those shared deps, and `Microsoft.Extensions.Http` 9.x was not tested against 10.x internals — this mismatch can surface as `MissingMethodException` or `TypeLoadException` at runtime for any HTTP-related DI registration code.

How can I resolve this? If you propose a fix, please make it concise.

<PackageReference Include="DiscordRichPresence" Version="1.6.1.70" />
<PackageReference Include="SimConnect.NET" Version="0.1.15-beta" />
Expand Down
Loading