Retain compiler messages and display on error.
Previously a build error resulting in an opaque message, leaving a developer to build the nested project manually to debug it. Now the compiler messages are retained and form part of the error message if there is a compilation error.