I have solution with 2 dotnet 6.0 library projects using c# 10
Lib1 references the nuget package Pomelo.EntityFrameworkCore.MySql/6.0.1
which in turn references Microsoft.EntityFrameworkCore.Relational/6.0.5
Lib2 references Lib1 as a project however when I drill down through the dependencies, I see Projects > Lib1 > Pomelo.EntityFrameworkCore.MySql/6.0.1 > Microsoft.EntityFrameworkCore.Relational/6.0.1
which is incorrect - and causes version warnings when compiling lib2 :
Microsoft.Common.CurrentVersion.targets(2302, 5): [MSB3277] Found conflicts between different versions of "Microsoft.EntityFrameworkCore.Relational" that could not be resolved.
There was a conflict between "Microsoft.EntityFrameworkCore.Relational, Version=220.127.116.11, Culture=neutral, PublicKeyToken=adb9793829ddae60"
and "Microsoft.EntityFrameworkCore.Relational, Version=18.104.22.168, Culture=neutral, PublicKeyToken=adb9793829ddae60".
My question is - where is this error happening - is this a rider problem or a nuget problem or an msbuild problem or ... ?