Skip to content

[AspireE2E] When running "aspire new" on Linux operating system, the installed '.NET' cannot be found #9783

Open
@v-reinawang

Description

@v-reinawang

REGRESSION INFO
This issue also reproduces in Aspire 9.3.0 [Aspire.Cli --version 9.3.0-preview.1.25265.20].

INSTALL STEPS

  1. Clean machine: Ubuntu 22.04.2
  2. Install SDK 9.0.300
  3. Install the latest Aspire 9.3.1 templates
    • dotnet new install Aspire.ProjectTemplates::9.3.1 --force
  4. 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

  1. Run aspire new

NOTE:

  1. Does not reproduce on Windows OS and Mac OS.
  2. 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

Image

EXPECTED
Can run successfully.
Image

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions