- Timestamp:
- 10/09/18 17:28:06 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Build.ps1
r16221 r16223 2 2 $programFilesX86Dir = ($Env:ProgramFiles, ${Env:ProgramFiles(x86)})[[bool]${Env:ProgramFiles(x86)}] 3 3 $locations = @( 4 [System.IO.Path]::Combine($programFilesX86Dir, "Microsoft Visual Studio", "2017", "Enterprise", "MSBuild", "15.0", "Bin", "amd64")5 4 [System.IO.Path]::Combine($programFilesX86Dir, "Microsoft Visual Studio", "2017", "Enterprise", "MSBuild", "15.0", "Bin") 6 [System.IO.Path]::Combine($programFilesX86Dir, "Microsoft Visual Studio", "2017", "Community", "MSBuild", "15.0", "Bin", "amd64")7 5 [System.IO.Path]::Combine($programFilesX86Dir, "Microsoft Visual Studio", "2017", "Community", "MSBuild", "15.0", "Bin") 8 [System.IO.Path]::Combine($programFilesX86Dir, "Microsoft Visual Studio", "2017", "BuildTools", "MSBuild", "15.0", "Bin", "amd64"),9 6 [System.IO.Path]::Combine($programFilesX86Dir, "Microsoft Visual Studio", "2017", "BuildTools", "MSBuild", "15.0", "Bin") 10 7 ) … … 87 84 $solution.FullName, 88 85 "/t:Clean", 89 "/p:Configuration=`"$config`",Platform=`"$ ([uri]::EscapeDataString($platform))`"",86 "/p:Configuration=`"$config`",Platform=`"$platform`"", 90 87 "/m", "/nologo", "/verbosity:q", "/clp:ErrorsOnly" 91 88 ) … … 97 94 Foreach ($slnIndex in $slnIndices) { 98 95 $solution = $slnFiles[$slnIndex] 99 "Building `"$($solution.Name)`" ..."96 "Building `"$($solution.Name)`" ($config|$platform) ..." 100 97 $args = @( 101 98 $solution.FullName, 102 99 "/t:Build", 103 "/p:Configuration=`"$config`",Platform=`"$ ([uri]::EscapeDataString($platform))`"",100 "/p:Configuration=`"$config`",Platform=`"$platform`"", 104 101 "/m", "/nologo", "/verbosity:q", "/clp:ErrorsOnly" 105 102 )
Note: See TracChangeset
for help on using the changeset viewer.