title: Use MSBuild Properties in T4 Templates
body: <p>I am using MSBuild to generate some files using T4 and I was wondering if it would be possible to reference and use MSBuild properties within the T4 template?</p>
  
  <p>I want to do something like this snippet:</p>
  
  <p><code>Revision: &lt;#=$(Revision)#&gt;</code></p>
  
  <p>This throws an error:</p>
  
  <p><code>error CS1056: Compiling transformation: Unexpected character '$'</code></p>
  
  <p>I'd prefer not to have to wrap the properties in a custom DLL and reference a C# class as a T4 property.</p>
  
  <p>Any help would be much appreciated.</p>