Open
Description
REGRESSION INFO
This issue also reproduces in Aspire 9.3.0 [Aspire.Cli --version 9.3.0-preview.1.25265.20].
INSTALL STEPS
- Clean machine: Ubuntu 22.04.2
- Install SDK 9.0.300
- Install the latest Aspire 9.3.1 templates
- dotnet new install Aspire.ProjectTemplates::9.3.1 --force
- Install Aspire CLI
- dotnet tool install --global aspire.cli --version 9.3.1-preview.1.25305.6
- export PATH="$PATH:/home/aapt/.dotnet/tools"
REPRO STEPS
- Run
aspire new
NOTE:
- Does not reproduce on Windows OS and Mac OS.
dotnet new
does not have this issue and can be run successfully
ACTUAL
The installed '.NET' cannot be found.
You must install .NET to run this application.
App: /home/aapt/.dotnet/tools/aspire
Architecture: x64
App host version: 9.0.5
.NET location: Not found
Learn more:
https://aka.ms/dotnet/app-launch-failed
Download the .NET runtime:
https://aka.ms/dotnet-core-applaunch?missing_runtime=true&arch=x64&rid=linux-x64&os=ubuntu.24.04&apphost_version=9.0.5