aspire: [WebToolsE2E][Aspire] Updating an existing 9.0.0 aspire project to 9.1.0 gives a warning: "Multiple versions of the same SDK "Aspire.AppHost.Sdk" cannot be specified. The previously resolved SDK version '9.0.0' will be used."

INSTALL STEPS

  1. Clean machine: Win11 x64 23h2 ENU
  2. Install VS 17.13.2
  3. Install Aspire 9.1.0 template

REPRO STEPS

  1. Open an existing 9.0.0 Aspire Starter App projet
  2. Update all aspire packages to Aspire 9.1.0
  3. Open xxx.AppHost.csproj file, update Aspire.AppHost.Sdk from 9.0.0 to 9.1.0

ACTUAL Multiple versions of the same SDK “Aspire.AppHost.Sdk” cannot be specified. The previously resolved SDK version “9.0.0” from location “C:\Users\v-sherryfan\source\repos\AspireApp5\AspireApp5.AppHost\AspireApp5.AppHost.csproj” will be used and the version “9.1.0” will be ignored.

Image

Note

  1. The warning will disappear after reopening project
  2. This issue does not repro in CLI
  3. This issue still repro on Aspire 9.1.0

EXPECTED Update project without any warnings

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Comments: 17 (10 by maintainers)

Most upvoted comments

@joperezr The warning will disappear after reopening the project.