Changed PreserveReferencesHandling
Reverted PreserveReferencesHandling
Build script should exit with the error level set by MSBuild
Merge pull request #556 from jrusbatch/issues/555

Build script should exit with the error level set by MSBuild