title: Host.ResolvePath and relative paths
body: <p>I have put my t4 template in a CodeTemplate\MyTemplateFolder folder but can't get it to work from there.</p>
  
  <p>The problem is that I need to access a folder, called models, that is in the root of the project.</p>
  
  <p>Ie:</p>
  
  <pre><code>Project Root Folder\CodeTemplates\MyTemplateFolder\MyTemplate.tt
  </code></pre>
  
  <p>and I need to access a file in:</p>
  
  <pre><code>Project Root Folder\Models
  </code></pre>
  
  <p>However, I can't figure out how to use <code>this.Host.ResolvePath</code> to get at the <code>Models</code> folder from my template.</p>
  
  <p>Any suggestions?</p>
  
  <p>Use of:</p>
  
  <pre><code>var relativePathModelsFolder = @"..\..\Models";
  var path = this.Host.ResolvePath(relativePathModelsFolder);
  </code></pre>
  
  <p>gives me the absolute path to the root folder with ....\Models stuck on the end.</p>
  
  <p>I don't seem to be able to traverse back up to the root, and then into my Models folder.</p>