REGRESSION INFO: Also repro on Aspire CLI 13.0
INSTALL STEPS
- Clean machine: Windows x64 25h2
- Install SDK 10.0.100: https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/sdk-10.0.100-windows-x64-installer
- Install Aspire CLI - version: 13.1.0-preview.1.25604.10
iex "& { $(irm https://aspire.dev/install.ps1) } -Quality dev"
- Run
aspire config set features.showAllTemplates true enable all templates
REPRO STEPS
- Create aspire starter app with following command:
aspire new aspire-starter -o aspire01
- Go to the project folder and run the app
cd aspire01\aspire01.AppHost
aspire run
- Press CTRL+C to stop the process
aspire run the project again
Note:
- This issue also reproduce when running a second app at first time.
- The "appHostPath" will be automatically added in the settings.json under .aspire folder when run the project;
After deleting "appHostPath" line. the warning will be disappear

- This issue does not reproduce when there is no settings.json file
ACTUAL
There is a warning "AppHost file was specified in 'C:\Users\v-zhajin.aspire\settings.json' but it does not exist at
'C:\Users\v-zhajin.aspire../Aspire02.AppHost.csproj'."
"EXPECTED"
There is no any warning or error on the CLI window

Error log:
⚠ AppHost file was specified in 'C:\Users\v-zhajin\.aspire\settings.json' but it does not exist at
'C:\Users\v-zhajin\.aspire\../Aspire02.AppHost.csproj'.