title: T4 TextTemplatingFilePreprocessor .tt location at runtime
body: <p>I am writing an app that will process T4 files on client machines (outside of VS). Ideally, I'd like to embed the .tt file into the dll.</p>
  
  <p>I tried setting Build Action to Resource, but I noticed that the preprocessed .cs file still contained a hard coded directory reference to the .tt file.</p>
  
  <p>What is the proper way to distribute the .tt file and reference it at runtime?</p>
  
  <p>To make sure I'm clear, I want to be able to either embed the file into the dll and access as a resource, or load the file at runtime from a location that is relative to the assembly path.</p>