dotnet / dotnet/vscode-dotnet-runtime
fails to find .NET even though it's already available on the machine (managed by Visual Studio)
- 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
Assessment
This issue has not been assessed yet.