Skip to content

Net cli tools cannot be located when using Snap VSCODE installation #3115

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

Closed
Chicopower opened this issue Jun 14, 2019 · 1 comment
Closed

Comments

@Chicopower
Copy link

Environment data

dotnet --info output:
.NET Core SDK (reflecting any global.json):
Version: 3.0.100-preview6-012264
Commit: be3f0c1a03

VS Code version:
1.35.1

C# Extension version:
1.20.0

OS: Debian Buster

Steps to reproduce

  • Install VSCODE with Snap (sudo snap install --classic code)
  • Install .Net Core SDK with Microsoft Debian recommended way (manual way, not by snap, described here)
  • Install Omnisharp C# VSCODE extension throught VSCODE extensions tab

Expected behavior

Omnisharp install fine without startup error and we can open an existing Net Core project without error.

Actual behavior

Omnisharp extension got startup error:
the .net cli tools cannot be located
&
failed to spawn dotnet --info
&
Omnisharp error when trying to open a Net Core project "The SDK 'Microsoft.NET.Sdk.Web' specified could not be found"

Workaround

Uninstall C# omnisharp extension, uninstall VSCODE from Snap.
Install VSCODE without using Snap (manual way documented by Microsoft here) & install Omnisharp C# VSCODE extension throught VSCODE extensions tab.

@gregg-miskelly
Copy link
Contributor

This is tracked with #3077

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants