-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Error running dotnet --info: Error: Command failed: dotnet --info /bin/sh: dotnet: command not found /bin/sh: dotnet: command not found #1192
Comments
Thank you for your report. Have you tried to install the .NET SDK via the Walkthrough / Getting Started Page? |
@nagilson, the 'needs-more-info' label has been removed upon receiving further response from the original bug filer. |
Thank you for following up. This is most likely a PATH issue. If you try to print the PATH environment variable in Vs Code, what do you get, and is it different from your terminal? I would suspect if you can add the .NET to the PATH in VS Code, it would work. We do edit the PATH in 3 different ways so I'm surprised it's not working for you, this is unfortunate. If you mind sharing some logs, then that could be helpful. Our log files are located alongside VS Code logs. If you want to find them manually, navigate here: Then find the folder created at the time you experienced the bug in the logs folder. Note: The window folder may change depending on how many VS Code windows you have open; if our extension is running in the 2nd window, it'd be in a folder called window2. |
I'm using code-server having this problem too, and the same thing is that I'm using the arm architecture too!
|
when i exec
the extension looks working. |
For @linv2 issue, this is an issue with snap installs that is being tracked by canonical and they are working on fixing it. canonical/dotnet-snap#13 (comment) For the above issue, if you are still facing it, please follow up with the requested information so we can help you. This is a separate issue from linv2's issue. |
Describe the Issue
找不到 .NET Core SDK 的位置:Error running dotnet --info: Error: Command failed: dotnet --info /bin/sh: dotnet: command not found /bin/sh: dotnet: command not found 。将不会启用 .NET Core 调试。请确保已安装 .NET Core SDK 且该 SDK 位于路径上。
Steps To Reproduce
Visual Studio Code
版本: 1.90.0 (Universal)
提交: 89de5a8d4d6205e5b11647eb6a74844ca23d2573
日期: 2024-06-04T19:34:44.157Z
Electron: 29.4.0
ElectronBuildId: 9593362
Chromium: 122.0.6261.156
Node.js: 20.9.0
V8: 12.2.281.27-electron.0
OS: Darwin arm64 23.5.0
macOS Sonoma 14.5
CPU: M2
Expected Behavior
No response
Environment Information
No response
The text was updated successfully, but these errors were encountered: