diff --git a/_scripts/templates/Cpp/st.build.ps1 b/_scripts/templates/Cpp/st.build.ps1 index 1110544a6e..128bebe243 100644 --- a/_scripts/templates/Cpp/st.build.ps1 +++ b/_scripts/templates/Cpp/st.build.ps1 @@ -33,6 +33,7 @@ if($compile_exit_code -ne 0){ } +Select-String -Path .\Test.vcxproj -Pattern "tsx" $(& cmake --build . --config Release ; $compile_exit_code = $LASTEXITCODE ) | Write-Host $make = which make @@ -43,5 +44,6 @@ if($compile_exit_code -ne 0){ Write-Host "Failed second cmake call $compile_exit_code." exit $compile_exit_code } + Set-Location '..' exit $compile_exit_code