title: Use T4 template as a dll
body: <p>Is there any way to create dll from T4 templates and generate codes from this dll? At now I need to set parameters by hard coded and when you save (Press Ctrl + S), the template start to generate, but there must be a good reusable way. does any one have any suggestion?</p>
  
  <p><strong>Update</strong></p>
  
  <p>I need a Library Application Include T4 Templates and I can pass parameters from any app that referenced to this library and get generated code as a return. but i don't know how can I create a dll from T4</p>