[gh-192] Fixed path escaping in Build-All.
This commit is contained in:
Родитель
f0a77c9387
Коммит
c26f3e049c
|
@ -190,12 +190,12 @@ try {
|
|||
|
||||
Write-Output "Resolving and copying assemblies..."
|
||||
$resolverLogPath = "$branchArtifactsRoot\AssemblyResolver.log"
|
||||
$resolverCommand = "&""$assemblyResolver""" +
|
||||
" --source-bin ""$sourceRoot\Server.Azure\bin\Release"" " +
|
||||
" --roslyn-bin ""$branchBinariesPath""" +
|
||||
" --target ""$(Ensure-ResolvedPath $siteRoot\bin)""" +
|
||||
" --target-app-config ""$siteRoot\Web.config""" +
|
||||
" >> ""$resolverLogPath"""
|
||||
$resolverCommand = "&'$assemblyResolver'" +
|
||||
" --source-bin '$sourceRoot\Server.Azure\bin\Release' " +
|
||||
" --roslyn-bin '$branchBinariesPath'" +
|
||||
" --target '$(Ensure-ResolvedPath $siteRoot\bin)'" +
|
||||
" --target-app-config '$siteRoot\Web.config'" +
|
||||
" >> '$resolverLogPath'"
|
||||
$resolverCommand | Out-File $resolverLogPath -Encoding 'Unicode'
|
||||
Invoke-Expression $resolverCommand
|
||||
if ($LastExitCode -ne 0) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче