Skip to content

[WebToolsE2E][Green]Start without debugging to run console project in Linux arm64 , run failed with error ".NET location: Not found" #2738

@Susie-1989

Description

@Susie-1989

REGRESSION INFO: Repro in Nov release C# DK 1.90.2(C#2.110.4)

INSTALL STEPS

  1. OS: Linux arm64
  2. Install the SDK 10.0.102
  3. Install VS Code insiders - 1.109.0
  4. Install Jan prerelease 3.2 prerelease C# DK1.93.20(include C#2.114.6)

REPRO STEPS

  1. Open vs code > Create .NET Project > Console App
  2. Right click project > Debug >Start without debugging

Note:
1.This issue works well when select "Start new instance"
2. This issue works well for windows x64

ACTUAL Can't run successfully

Image

Log as below:

/home/parallels/.vscode-insiders/extensions/ms-dotnettools.csharp-2.114.6-linux-arm64/.debugger/vsdbg --interpreter=vscode --connection=/tmp/CoreFxPipe_vsdbg-ui-4b47f234f0a8402ea39fdd2ce57da09c
You must install .NET to run this application.

App: /home/parallels/console13/ConsoleApp1/bin/Debug/net10.0/ConsoleApp1
Architecture: arm64
App host version: 10.0.2
.NET location: Not found

The following locations were searched:
Application directory:
/home/parallels/console13/ConsoleApp1/bin/Debug/net10.0/
Environment variable:
DOTNET_ROOT_ARM64 =
DOTNET_ROOT =
Registered location:
/etc/dotnet/install_location_arm64 =
Default location:
/usr/share/dotnet

Learn more:
https://aka.ms/dotnet/app-launch-failed

Download the .NET runtime:
https://aka.ms/dotnet-core-applaunch?missing_runtime=true&arch=arm64&rid=linux-arm64&os=ubuntu.24.04&apphost_version=10.0.2
parallels@ubuntu-linux-2404:~/console13$

EXPECTED Can run successfully

Image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions