dotnet-installer/eng/configure-toolset.ps1
Jacques Eloff 7c79ce28bc
Create WASM installers for optional workloads (#10685)
Co-authored-by: Rainer Sigwald <raines@microsoft.com>
2021-05-24 14:05:11 -07:00

12 lines
441 B
PowerShell

# SdkTests do not currently work with globally installed CLI as they use dotnet-install.ps1 to install more runtimes
$script:useInstalledDotNetCli = $false
# Add CMake to the path.
$env:PATH = "$PSScriptRoot\..\.tools\bin;$env:PATH"
if ($msbuildEngine -eq 'vs')
{
$globalJson = Get-Content -Raw global.json | ConvertFrom-Json
$env:MSBuildSdksPath = [IO.Path]::Combine($RepoRoot, ".dotnet\sdk", $globalJson.tools.dotnet, "sdks")
}