title: How to reference an assembly from a tt macro
body: <p>Given the following tt macro:</p>
  
  <pre><code>&lt;#@ template debug="false" hostspecific="true" language="C#" #&gt;
  &lt;#@ output extension=".xml" #&gt;
  &lt;#@ assembly name="$(TargetPath)" #&gt;
  &lt;#@ import namespace="System.Reflection" #&gt;
  &lt;#
  AssemblyInfoHelper assemblyInfo = new AssemblyInfoHelper(Assembly.LoadFrom(@"H:\My Projects\TestApp\bin\Windows Phone\Debug\TestApp.dll"));
  #&gt;
  &lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;Deployment xmlns="http://schemas.microsoft.com/windowsphone/2009/deployment" AppPlatformVersion="7.0"&gt;
  ...
  &lt;/Deployment&gt;
  </code></pre>
  
  <p>... I'd like to Load the assembly using the content of $(TargetPath) instead of hardcoding the assembly's full path... Is that possible?</p>
  
  <p>Any help is really appreciated :-)</p>
  
  <p>Thanks
  j3d</p>