ASP.NET - Dealing with dependencies when using the debugger
<p>When we run ASP.NET through the debugger it runs in a special directory like:</p>

<blockquote>
  <p>C:\Program Files\Common
  Files\Microsoft Shared\DevServer\10.0</p>
</blockquote>

<p>I dont know if this directory is configureable.  The problem is that if you have a file such as <code>Transfer.xsl</code> then you set its property "Copy to Output Directory" to "Copy if newer".  This copies the file out to the bin.</p>

<p>But, we are not running inside the bin.  So if I use a relative path</p>

<p>StorageFolder\Transfer.xsl</p>

<p>It becomes...</p>

<blockquote>
  <p>C:\Program Files\Common
  Files\Microsoft Shared\DevServer\10.0\StorageFolder\Transfer.xsl</p>
</blockquote>

<p>But, Visual Studio does <strong>not</strong> copy files here even when you set the property described above.</p>

<p>In the past I got around this problem by writing a pre-build routine to xcopy the dependencies to this "temp folder".  It works, but flippen sucks caseadillas.  </p>

<p>Is there a better way?</p>
