dotnet / dotnet/vscode-dotnet-runtime

fails to find .NET even though it's already available on the machine (managed by Visual Studio)

Open
#911 0 comments 0 reactions 0 assignees View on GitHub
not-enough-detail
Dominant language
TypeScript
Stars
209
Forks
455
PR merge metrics
No merged PRs in 30d

Description

```
Starting Open a solution...
Starting Open a solution with environment service...
Starting Clear environment...
Starting Spawn .NET server...
Failed at 'Spawn .NET server' (636ms) with error: Error: Could not resolve the dotnet path!
Failed at 'Clear environment' (643ms) with error: Error: Could not resolve the dotnet path!
Failed at 'Open a solution with environment service' (643ms) with error: Error: Could not resolve the dotnet path!
Failed at 'Open a solution' (842ms) with error: Error: Exception while opening the solution: Error: Could not resolve the dotnet path!
Failed to open solution Error: Exception while opening the solution: Error: Could not resolve the dotnet path!

```

yet at the same time:
```
C:\>dotnet --version
7.0.302
```

c:\Program Files\dotnet\sdk\6.0.408
c:\Program Files\dotnet\sdk\7.0.302

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.