Get rid of "!" character in Roslyn build root directory name, since Roslyn's 'Restore.cmd' script uses old school '%~dp0' thing in statement 'set RoslynRoot=%~dp0' and it badly supports special path symbols, like exclamation mark in '!roslyn' (exlamation mark got trimmed out from folder name)
This commit is contained in:
Родитель
22ea54e9f8
Коммит
b7ac882d41
|
@ -162,7 +162,7 @@ try {
|
|||
$sourceRoot = Resolve-Path "$root\source"
|
||||
Write-Output " Source Root: $sourceRoot"
|
||||
|
||||
$roslynBuildRoot = Ensure-ResolvedPath "$root\!roslyn"
|
||||
$roslynBuildRoot = Ensure-ResolvedPath "$root\roslyn_build_root"
|
||||
Write-Output " Roslyn Build Root: $roslynBuildRoot"
|
||||
|
||||
$sitesBuildRoot = Ensure-ResolvedPath "$root\!sites"
|
||||
|
@ -218,7 +218,7 @@ try {
|
|||
$branchFsName = $repositoryName + "-" + ($_ -replace '[/\\:_]', '-')
|
||||
|
||||
$siteBuildRoot = Ensure-ResolvedPath "$sitesBuildRoot\$branchFsName"
|
||||
$roslynBinaryRoot = Ensure-ResolvedPath "$siteBuildRoot\!roslyn"
|
||||
$roslynBinaryRoot = Ensure-ResolvedPath "$siteBuildRoot\roslyn_build_root"
|
||||
$siteBuildTempRoot = Ensure-ResolvedPath "$siteBuildRoot\!temp"
|
||||
$siteCopyRoot = Ensure-ResolvedPath "$siteBuildRoot\!site"
|
||||
|
||||
|
|
|
@ -60,7 +60,7 @@ try {
|
|||
Write-Output "*** $_"
|
||||
|
||||
$siteMainRoot = Resolve-Path $siteMainRoot
|
||||
$siteRoslynRoot = Resolve-Path "$($_.FullName)\!roslyn"
|
||||
$siteRoslynRoot = Resolve-Path "$($_.FullName)\roslyn_build_root"
|
||||
|
||||
$branchInfo = ConvertFrom-Json ([IO.File]::ReadAllText("$siteRoslynRoot\!BranchInfo.json"))
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
\#packages/
|
||||
*.user
|
||||
\!*
|
||||
\roslyn_build_root
|
||||
.vs/
|
||||
node_modules/
|
||||
bin/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
@echo off
|
||||
mkdir !roslyn\!tools
|
||||
xcopy "%PROGRAMFILES(X86)%\Microsoft SDKs\Windows\v8.1A\bin\NETFX 4.5.1 Tools\ildasm.exe" !roslyn\!tools /Y
|
||||
mkdir roslyn_build_root\!tools
|
||||
xcopy "%PROGRAMFILES(X86)%\Microsoft SDKs\Windows\v8.1A\bin\NETFX 4.5.1 Tools\ildasm.exe" roslyn_build_root\!tools /Y
|
||||
|
||||
powershell "Set-ExecutionPolicy RemoteSigned Process; .\#build\Build-All.ps1"
|
Загрузка…
Ссылка в новой задаче