Updating powershell scripts for VS2015 RC.
This commit is contained in:
Родитель
ed2df9104c
Коммит
6ed52eaabd
|
@ -13,7 +13,7 @@ function VsVars32()
|
|||
Get-Batchfile $BatchFile
|
||||
}
|
||||
|
||||
"Initializing Casablanca Powershell VS2013 Environment"
|
||||
"Initializing C++ REST SDK Powershell VS2013 Environment"
|
||||
|
||||
# get VS tools
|
||||
VsVars32
|
||||
|
|
|
@ -13,10 +13,18 @@ function VsVars32()
|
|||
Get-Batchfile $BatchFile
|
||||
}
|
||||
|
||||
"Initializing Casablanca Powershell VS2015 Environment"
|
||||
"Initializing C++ REST SDK Powershell VS2015 Environment"
|
||||
|
||||
# Add MSBuild to the path.
|
||||
$msbuildLocation = (Get-ChildItem env:ProgramFiles).Value
|
||||
if (Test-Path "Env:ProgramFiles(x86)")
|
||||
{
|
||||
$msbuildLocation = (Get-ChildItem "Env:ProgramFiles(x86)").Value
|
||||
}
|
||||
else
|
||||
{
|
||||
$msbuildLocation = (Get-ChildItem "Env:ProgramFiles").Value
|
||||
}
|
||||
|
||||
$msbuildLocation = [System.IO.Path]::Combine($msbuildLocation, "MSBuild", "14.0", "Bin")
|
||||
$Env:Path += ";" + $msbuildLocation
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче