[WebToolsE2E][Aspire] Building the eShop.Web solution gets some warnings: “Found conflicts between different versions of "Microsoft.EntityFrameworkCore" that could not be resolved.”
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-preview5branch - 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"
EXPECTED
Building the eShop.Web.slnf without any warnings.
Same on main branch (MacOS)
Verified that this issue is not reproduced on aspire-preview7 branch using VS 17.10 Preview 7 FB [include 8.0.0-preview.7.24251.11]