Add logging to ms build tasks. Output exceptions to string in build output.