title: Include Files using Wildcard into a folder in Visual Studio
body: <p>I am using</p>
  
  <pre><code>&lt;ItemGroup&gt;
    &lt;EmbeddedResource Include="..\..\resources\hbm\*.hbm.xml" /&gt;
  &lt;/ItemGroup&gt;
  </code></pre>
  
  <p>to include a bunch of xml files into my C# project.  Works fine.</p>
  
  <p>But, I don't want them in the "root level" of my project, I would rather see them in a subfolder in my project.</p>
  
  <p>For example, this file is included into a <code>Mapping</code> folder in Visual Studio:</p>
  
  <pre><code>&lt;ItemGroup&gt;
    &lt;EmbeddedResource Include="Mapping\User.hbm.xml" /&gt;
  &lt;/ItemGroup&gt;
  </code></pre>
  
  <p>That's what I want for my <code>*.hbm.xml</code> files.</p>
  
  <p>I can't figure out how to do it and still keep my wildcard <code>*.hbm.xml</code> part and also keep the actual files in a different directory.</p>
  
  <p>I've looked at MSDN's doc on MSBUILD and items, but no luck.</p>