Monday, December 16, 2019

VS Code C# for Visual Studio Code (powered by OmniSharp) plugin not finding .NET Core SDK

Running VS Code with C# for Visual Studio Code (powered by OmniSharp) plugin is complaining about the following:

The .NET Core SDK cannot be located. .NET Core debugging will not be enabled. Make sure the .NET Core SDK is installed and is on the path.

This happened on my environment when I have installed dotnet-sdk using snap. To workaround, do:
$: sudo ln -sv /snap/dotnet-sdk/current/dotnet /usr/local/bin/dotnet

Reference:
https://github.com/OmniSharp/omnisharp-vscode/issues/3077

No comments:

Install Winget on Windows 2022 or Windows 10 LSTC

Install Winget on Windows 2022 or Windows 10 LTSC Install Pre-reqs Install Microsoft.UI.Xaml/2.8.6 Navigate to https://www.nuget.org/pa...