asdf-dotnet-core icon indicating copy to clipboard operation
asdf-dotnet-core copied to clipboard

zsh + vscode needs an extra variable

Open rubens-lopes opened this issue 3 years ago • 1 comments

To get the OmniSharp (from C# extension) on vscode to run I've also needed to set export MSBuildSDKsPath=~/.asdf/installs/dotnet-core/3.1.409/sdk/3.1.409/Sdks would be nice to have this on set-dotnet-home.zsh.

My bash skills does not allow me to open an issue on the matter 😞

rubens-lopes avatar May 27 '21 02:05 rubens-lopes

I also had the same issue. A fix might be to to add the following to .bashrc or set-dotnet-home.bash (better):

DOTNET_VERSION="$(dotnet --version)"
export MSBuildSDKsPath="$DOTNET_ROOT/sdk/$DOTNET_VERSION/Sdks"

I would happily create a PR, @emersonsoares is this repo still maintained?

hensou avatar Apr 25 '22 13:04 hensou