File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -75,10 +75,11 @@ try {
75
75
76
76
# ## Build the needed flavor for MRTK
77
77
Write-Output " ============ Building InEditor WSA ============ "
78
- dotnet msbuild ..\NuGet\BuildSource.proj - target:BuildWSAEditor > " Logs\Build.InEditor.WSA.$ ( $Version ) .log"
78
+ $logFilePath = " Logs\Build.InEditor.WSA.$ ( $Version ) .log"
79
+ dotnet msbuild ..\NuGet\BuildSource.proj - target:BuildWSAEditor > $logFilePath
79
80
if ($lastexitcode -ge 1 ) {
80
- Write-Error " Building InEditor WSA Failed! See log file for more information $ ( Get-Location ) \Logs\Build.InEditor.WSA. $ ( $Version ) .log " ;
81
- Copy-Item - Path " Logs\Build.InEditor.WSA. $ ( $Version ) .log " - Destination " $OutputDirectory \"
81
+ Write-Error " Building InEditor WSA Failed! See log file for more information $ ( Get-Location ) $logFilePath " ;
82
+ Copy-Item - Path $logFilePath - Destination " $OutputDirectory \"
82
83
exit ($lastexitcode )
83
84
}
84
85
You can’t perform that action at this time.
0 commit comments