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(sdk,rt, etc) instance is installed and managed via micromamba/conda. micromamba/conda does not pollute the system envs and kept different versions of the dotnet separated in different virtual envs & folders, which is what I prefer. The issue now is that the env DOTNET_ROOT is only automatically set when the virtual env is activated and remains unset otherwise.
I can not find any ways to set the env for one specific extension in vscode.
My temporal fix: add one line of code to the fsharp.js
The text was updated successfully, but these errors were encountered:
Describe the bug
F# client: couldn't create connection to server.
when the envDOTNET_ROOT
is not setSteps to reproduce
install dotnet using micromamba/conda in the virtual environment
or
remove
DOTNET_ROOT
from the system env if installed directly from microsoft.Link to sample reproduction
Expected behaviour
use
fsharp.dotnetroot
to set the envDOTNET_ROOT
Screenshots
Machine info
Additional context
the dotnet(sdk,rt, etc) instance is installed and managed via micromamba/conda. micromamba/conda does not pollute the system envs and kept different versions of the dotnet separated in different virtual envs & folders, which is what I prefer. The issue now is that the env
DOTNET_ROOT
is only automatically set when the virtual env is activated and remains unset otherwise.I can not find any ways to set the env for one specific extension in vscode.
My temporal fix: add one line of code to the
fsharp.js
The text was updated successfully, but these errors were encountered: