title: T4 suppress error message "ErrorGeneratingOutput"
body: <p>I am working with a set of T4 script that generate partial classes for my entities in a EF application. </p>
  
  <p>Because partial classes need to reside in the same assembly, the script resides in the same project as the entity classes. It also needs access to the compiled assembly when executing. </p>
  
  <p>When an error occured, the script will fail with the output "ErrorGeneratingOutput". This will cause the whole project to NOT compile, because the generated file is an .cs file, with (at that point of time) invalid content. </p>
  
  <p>So thats a vicious dependency circle, which can only be broken if I manually remove the error message from the generated file, and then trigger the build. </p>
  
  <p>If there was a way to suppress the error message (or replace it by an empty string), my life would be much easier. </p>
  
  <p>So the question is: can i change the error handling of a t4 script?</p>