Update location where Start-PSBuild expects to find dotnet.exe

This commit is contained in:
dantraMSFT 2016-05-13 16:49:39 -07:00
parent 2b28e1075f
commit da0247f304

View file

@ -61,7 +61,7 @@ function Start-PSBuild {
if (-not $NoPath) {
Write-Verbose "Appending probable .NET CLI tool path"
if ($IsWindows) {
$env:Path += ";$env:LocalAppData\Microsoft\dotnet\cli"
$env:Path += ";$env:LocalAppData\Microsoft\dotnet"
} elseif ($IsOSX) {
$env:PATH += ":/usr/local/share/dotnet"
}