dotnet-sdk: Set MSBuildSDKsPath environment (#479)

OmniSharp isn't able to find SDKs otherwise (see https://github.com/OmniSharp/omnisharp-vscode/issues/2970#issuecomment-524292461)
This commit is contained in:
Johannes Egger 2019-10-13 14:31:36 +02:00 committed by Chawye Hsu
parent e7a9fe3363
commit 3e62aa78bc

View File

@ -15,7 +15,8 @@
}, },
"bin": "dotnet.exe", "bin": "dotnet.exe",
"env_set": { "env_set": {
"DOTNET_ROOT": "$dir" "DOTNET_ROOT": "$dir",
"MSBuildSDKsPath": "$dir\\sdk\\$version\\Sdks"
}, },
"checkver": { "checkver": {
"url": "https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/releases-index.json", "url": "https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/releases-index.json",