File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 5959 foreach ($sqlproj_file in $sqlproj_files) {
6060 Write-Host "Building $($sqlproj_file.FullName)"
6161 try {
62- msbuild "$($sqlproj_file.FullName)" /p:Configuration=Release
62+ $output = & msbuild "$($sqlproj_file.FullName)" /p:Configuration=Release /nologo 2>&1
6363 if (!$?) {
64- $errors += "Failed to build $($csproj_file.FullName)"
64+ $errors += "Failed to build $($csproj_file.FullName) : $output "
6565 }
6666 } catch {
6767 # Capture detailed error information
9696 foreach ($csproj_file in $csproj_files) {
9797 Write-Host "Building $($csproj_file.FullName)"
9898 try {
99- dotnet build "$($csproj_file.FullName)" --configuration Release
99+ $output = & dotnet build "$($csproj_file.FullName)" --configuration Release 2>&1
100100 if (!$?) {
101- $errors += "Failed to build $($csproj_file.FullName)"
101+ $errors += "Failed to build $($csproj_file.FullName) : $output "
102102 }
103103 } catch {
104104 # Capture detailed error information
You can’t perform that action at this time.
0 commit comments