Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
omnisharp-vscode can't find dotnet installation on RedHat in Remote Development SSH mode #3471
C# Extension/Omnisharp VS code extension won't find .NET installation on freshly installed RedHat vm with .NET Core 3.1 setup.
VS Code version: 1.41.0
Steps to reproduce
Create fresh Azure RedHat VM:
SSH into RedHat VM and follow RedHat getting started guide:
Connect VS Code Remote Development SSH to Redhat VM at ~/hello-world.
C# extension/omni sharp finds .NET Core installation.
.NET Core installation not found, console output:
My current workaround is to find where the dotnet executable is and create a symlink in ~/bin/dotnet.
Close VSCode and re-open VSCode connecting to the Red Hat at ~/hello-world.