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
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![image](https://github.com/ionide/ionide-vscode-fsharp/assets/56587914/da11e31e-8fb1-4186-af1d-4782dd4e594e)
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 thefsharp.js