microsoft / microsoft/aspire

[WebToolsE2E][Aspire] Create an aspire 9.0 project and then add an aspire 9.1 project in the same solution and get a warning: "The previously resolved SDK version "9.0.0" will be used and the version "9.1.0" will be ignored".

Open
#7,530 1 comment 0 reactions 0 assignees View on GitHub
area-acquisition
Dominant language
C#
Stars
6.3k
Forks
991
Avg merge
2d 15h
Merged PRs (30d)
196

Description

**INSTALL STEPS**

1. Clean machine: Win11 x64 23h2
2. Install VS 17.13 GA
3. Install the latest Aspire 9.1.0-preview.1.25110.10
- Apply dotnet9 Feed

**REPRO STEPS**

1. Create an Aspire Starter App 9.0 project
2. In the same solution, add an Aspire Starter App 9.1 project

**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\xxx\source\repos\AspireApp14\AspireApp14.AppHost\AspireApp14.AppHost.csproj" will be used and the version "9.1.0-preview.1.25110.10" will be ignored.
![Image](https://github.com/user-attachments/assets/0d97739e-082b-4bb7-a256-eb199ada0f35)

**Workaround:**
- Reopen VS and the warning will disappear

**EXPECTED**
Without any warning

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.