dotnet / dotnet/vscode-dotnet-runtime
Error opening dotnet solution in workspace
- Dominant language
- TypeScript
- Stars
- 209
- Forks
- 455
- PR merge metrics
- No merged PRs in 30d
Description
### Describe the bug.
got this error when opened Cursor:
Could not find the architecture of the dotnet host dotnet. If this host does not match the architecture x64:
Please set the PATH to a dotnet host that matches the architecture x64. An incorrect architecture will cause instability for the extension ms-dotnettools.csharp.
Could not find the architecture of the dotnet host dotnet. If this host does not match the architecture x64:
Please set the PATH to a dotnet host that matches the architecture x64. An incorrect architecture will cause instability for the extension ms-dotnettools.csharp.
Could not find the architecture of the dotnet host C:\Program Files\dotnet\dotnet.exe. If this host does not match the architecture x64:
Please set the PATH to a dotnet host that matches the architecture x64. An incorrect architecture will cause instability for the extension ms-dotnettools.csharp.
Could not find the architecture of the dotnet host C:\Program Files\dotnet\dotnet.exe. If this host does not match the architecture x64:
Please set the PATH to a dotnet host that matches the architecture x64. An incorrect architecture will cause instability for the extension ms-dotnettools.csharp.
ms-dotnettools.csharp requested to download the .NET Runtime.
Downloading .NET version(s) 9.0.9~x64 .......... Done!
.NET 9.0.9~x64 executable path: c:\Users\user\AppData\Roaming\Cursor\User\globalStorage\ms-dotnettools.vscode-dotnet-runtime\.dotnet\9.0.9~x64\dotnet.exe
Could not find the architecture of the dotnet host c:\Users\user\AppData\Roaming\Cursor\User\globalStorage\ms-dotnettools.vscode-dotnet-runtime\.dotnet\9.0.9~x64\dotnet.exe. If this host does not match the architecture x64:
Please set the PATH to a dotnet host that matches the architecture x64. An incorrect architecture will cause instability for the extension ms-dotnettools.csharp.
ms-dotnettools.csharp requested to download the .NET Runtime.
Downloading .NET version(s) 9.0.9~x64 ...
Could not find the architecture of the dotnet host c:\Users\user\AppData\Roaming\Cursor\User\globalStorage\ms-dotnettools.vscode-dotnet-runtime\.dotnet\9.0.9~x64\dotnet.exe. If this host does not match the architecture x64:
Please set the PATH to a dotnet host that matches the architecture x64. An incorrect architecture will cause instability for the extension ms-dotnettools.csharp.
.. Done!
.NET 9.0.9~x64 executable path: c:\Users\user\AppData\Roaming\Cursor\User\globalStorage\ms-dotnettools.vscode-dotnet-runtime\.dotnet\9.0.9~x64\dotnet.exe
Error : (DotnetAcquisitionFinalError)
Error : (DotnetRuntimeFinalAcquisitionError)
### Please attach log file(s) here if you have any.
The log file location should be copied to your clipboard if you came from VS Code.
### Reproduction Steps
Just open a workspace folder that contains a dotnet solution
### Expected Behavior
Open the solution and do not get any error
### Exceptions & Errors (if any)
_No response_
### .NET Install Tool Version
2.3.6
### Your operating system? Please provide more detail, such as the version and or distro above.
Windows
### VS Code Version
VSCode Version: 1.99.3
Contributor guide
Assessment
This issue has not been assessed yet.