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
- Clean machine: Win11 x64 23h2 ENU
- Install VS 17.13.2
- Install Aspire 9.1.0 template
REPRO STEPS
- Open an existing 9.0.0 Aspire Starter App projet
- Update all aspire packages to Aspire 9.1.0
- Open xxx.AppHost.csproj file, update
Aspire.AppHost.Sdkfrom 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.
Note
- The warning will disappear after reopening project
- This issue does not repro in CLI
- 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)
@joperezr The warning will disappear after reopening the project.