-
Notifications
You must be signed in to change notification settings - Fork 263
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
vscode from snap cannot see dotnet at /usr/bin/dotnet #1163
Comments
I got my solution. here is my bash code to solve this issue:
|
my solution may cause some more problems. Anyway to make this working with /usr/bin/dotnet ? |
Do the docs here help workaround this issue? https://github.com/dotnet/vscode-dotnet-runtime/blob/main/Documentation/troubleshooting-runtime.md#manually-installing-net |
Thanks. I removed all of them and installed all by following these issues at dotnet/core#7699 and dotnet/sdk#27129 .
What I did is to uninstall all microsoft related packages at first, set apt preferences for |
Repro steps:
Extension Version: 1.0.0
Error Message: .NET Acquisition Failed: Installation failed: Error: Command failed: "/home/anonymous/.vscode/extensions/ms-dotnettools.vscode-dotnet-runtime-1.6.0/dist/install scripts/dotnet-install.sh" -InstallDir "/home/anonymous/.config/Code/User/globalStorage/ms-dotnettools.vscode-dotnet-runtime/.dotnet/7.0.9" -Version 7.0.9 -Runtime dotnet
/bin/sh: 1: /home/anonymous/.vscode/extensions/ms-dotnettools.vscode-dotnet-runtime-1.6.0/dist/install scripts/dotnet-install.sh: Permission denied
Error Stack: Error: .NET Acquisition Failed: Installation failed: Error: Command failed: "/home/anonymous/.vscode/extensions/ms-dotnettools.vscode-dotnet-runtime-1.6.0/dist/install scripts/dotnet-install.sh" -InstallDir "/home/anonymous/.config/Code/User/globalStorage/ms-dotnettools.vscode-dotnet-runtime/.dotnet/7.0.9" -Version 7.0.9 -Runtime dotnet
/bin/sh: 1: /home/anonymous/.vscode/extensions/ms-dotnettools.vscode-dotnet-runtime-1.6.0/dist/install scripts/dotnet-install.sh: Permission denied
DotNetAcquisition-ms-dotnettools.vscode-dotnet-runtime-1691238602004.txt
The text was updated successfully, but these errors were encountered: