title: New .csproj format - How to specify entire directory as "linked file" to a subdirectory?
body: <p>With the new <code>.csproj</code> format (as well as the old), it is possible to add files as linked outside of the project folder:</p>
  
  <pre><code> &lt;EmbeddedResource Include="..\..\..\Demo\Sample.cs" Link="Resources\Sample.cs" /&gt;
  </code></pre>
  
  <p>It is also possible to use a glob pattern to include multiple files:</p>
  
  <pre><code>&lt;EmbeddedResource Include="..\..\..\Demo\*.cs" /&gt;
  </code></pre>
  
  <p>But how do you combine the two?</p>
  
  <h2>What I Tried</h2>
  
  <ol>
  <li><code>&lt;EmbeddedResource Include="..\..\..\Demo\*.cs" Link="Resources\*.cs" /&gt;</code></li>
  <li><code>&lt;EmbeddedResource Include="..\..\..\Demo\*.cs" Link="Resources\*" /&gt;</code></li>
  <li><code>&lt;EmbeddedResource Include="..\..\..\Demo\*.cs" Link="Resources\" /&gt;</code></li>
  </ol>
  
  <p>The first two only create a single linked file (with exactly the name <code>*.cs</code> and <code>*</code> respectively). The third simply errors out.</p>
  
  <p>Is there a way to combine globbing with linked files to a specific location in the target project? If not, how can I link all the files in a directory without knowing how many or what their names are?</p>