You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The DOTNET_ROOT env var is set incorrectly on Linux when .NET is installed in OSTree style (i.e. dotnet binary is inside a bin directory and not in the root of the .NET installation).
I have implemented a fix in the build script for my installation however this would be best solved upstream.
Steps To Reproduce
Install a Linux distro where .NET is installed in OSTree style (e.g. NixOS)
Install the extension (and patch the binaries if you're on NixOS)
Configure the extension to use the installed .NET
Open a .NET project
Have the extension fail with ".NET is not installed"
Expected Behavior
Extension detects that the dotnet binary is in the bin dir and goes up another directory to get DOTNET_ROOT.
Environment Information
OS: NixOS 23.11.20230825.5690c42
VSCode Version: 1.81.1
Extension Version: 0.4.6
The text was updated successfully, but these errors were encountered:
Describe the Issue
The
DOTNET_ROOT
env var is set incorrectly on Linux when .NET is installed in OSTree style (i.e.dotnet
binary is inside abin
directory and not in the root of the .NET installation).I have implemented a fix in the build script for my installation however this would be best solved upstream.
Steps To Reproduce
Expected Behavior
Extension detects that the
dotnet
binary is in thebin
dir and goes up another directory to getDOTNET_ROOT
.Environment Information
The text was updated successfully, but these errors were encountered: