title: Publishing web project fails when custom output folder is used
body: <p>A web project that includes typescript and makes use of the "Redirect Javascript output to folder" option can currently not be published (local file system) because Microsoft.TypeScript.targets does not honor TypeScriptOutDir when populating FilesForPackagingFromProject and/or other MSBuild variables. </p>
  
  <p>This is a small snippet extracted from my .csproj file:</p>
  
  <pre><code>  &lt;PropertyGroup Condition="'$(Configuration)' == 'Debug'"&gt;
      &lt;TypeScriptSourceMap&gt;True&lt;/TypeScriptSourceMap&gt;
      &lt;TypeScriptModuleKind&gt;amd&lt;/TypeScriptModuleKind&gt;
      &lt;TypeScriptOutDir&gt;$(ProjectDir)Scripts\ts&lt;/TypeScriptOutDir&gt;
    &lt;/PropertyGroup&gt;
  </code></pre>
  
  <p>The offending option is TypeScriptOutDir. If I remove it, publishing works as expected. </p>
  
  <p>Did anyone else experience the same problem and has comeup with a work-around? I don't care if a fix would involve editing Microsoft.TypeScript.targets.</p>