A reference .NET application implementing an eCommerce site
MIT License
4.77k
stars
1.36k
forks
source link
[WebToolsE2E][Aspire] Building the eShop.Web solution gets some warnings: “Found conflicts between different versions of "Microsoft.EntityFrameworkCore" that could not be resolved.” #278
REGRESSION INFO: Also repro on Aspire 8.0.0-preview.4.24156.9
INSTALL STEPS
Clean machine: Win11 x64 23h2 ENU
Install VS 17.10 Preview 3 [ Includes Aspire 8.0.0-preview.5.24201.12 and SDK 8.0.300-preview.24170.4 ]
Apply NuGet dotnet-tools Feed
Install Docker Desktop for Windows
REPRO STEPS
Clone eShop repo
Checkout the aspire-preview5 branch
Update sdk version to 8.0.300-preview.24170.4 in global.json
Update AspireVersion to 8.0.0-preview.5.24201.12 in Directory.Packages.props
Open eShop.Web.slnf
Build
ACTUAL
MSB3277 Found conflicts between different versions of "Microsoft.EntityFrameworkCore" that could not be resolved.
There was a conflict between "Microsoft.EntityFrameworkCore, Version=8.0.2.0, Culture=neutral, PublicKeyToken=adb9793829ddae60" and "Microsoft.EntityFrameworkCore, Version=8.0.3.0, Culture=neutral, PublicKeyToken=adb9793829ddae60".
"Microsoft.EntityFrameworkCore, Version=8.0.2.0, Culture=neutral, PublicKeyToken=adb9793829ddae60" was chosen because it was primary and "Microsoft.EntityFrameworkCore, Version=8.0.3.0, Culture=neutral, PublicKeyToken=adb9793829ddae60" was not.
References which depend on "Microsoft.EntityFrameworkCore, Version=8.0.2.0, Culture=neutral, PublicKeyToken=adb9793829ddae60"
REGRESSION INFO: Also repro on Aspire 8.0.0-preview.4.24156.9
INSTALL STEPS
REPRO STEPS
aspire-preview5
branchACTUAL
MSB3277 Found conflicts between different versions of "Microsoft.EntityFrameworkCore" that could not be resolved. There was a conflict between "Microsoft.EntityFrameworkCore, Version=8.0.2.0, Culture=neutral, PublicKeyToken=adb9793829ddae60" and "Microsoft.EntityFrameworkCore, Version=8.0.3.0, Culture=neutral, PublicKeyToken=adb9793829ddae60". "Microsoft.EntityFrameworkCore, Version=8.0.2.0, Culture=neutral, PublicKeyToken=adb9793829ddae60" was chosen because it was primary and "Microsoft.EntityFrameworkCore, Version=8.0.3.0, Culture=neutral, PublicKeyToken=adb9793829ddae60" was not. References which depend on "Microsoft.EntityFrameworkCore, Version=8.0.2.0, Culture=neutral, PublicKeyToken=adb9793829ddae60"![image](https://github.com/dotnet/eShop/assets/71361488/5f7e7703-8027-4833-9739-53a1229f4916)
EXPECTED
Building the eShop.Web.slnf without any warnings.