Adding error trapping around MSBuild calls to PowerShell.