title: How to exclude a folder from a nuget package
body: <p>I'm using Octopack / Nuspec file to build my nuget package. </p>
  
  <p>I would like to exclude certain folders which exist in the project. e.g. the "obj" file. I've been trying to get the exclude tag to work, but haven't had any luck. The nuget file builds, but the folder is still there.</p>
  
  <p>Sadly, all the examples on the net specific file types and not folder.</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd"&gt;
    &lt;metadata&gt;
      &lt;id&gt;Foo&lt;/id&gt;
      &lt;title&gt;Foo&lt;/title&gt;
      &lt;version&gt;$version$&lt;/version&gt;
      &lt;authors&gt;NA&lt;/authors&gt;
      &lt;owners&gt;NA&lt;/owners&gt;
      &lt;licenseUrl&gt;http://Foo&lt;/licenseUrl&gt;
      &lt;projectUrl&gt;http://Foo&lt;/projectUrl&gt;
      &lt;requireLicenseAcceptance&gt;false&lt;/requireLicenseAcceptance&gt;
      &lt;description&gt;Foo&lt;/description&gt;
      &lt;releaseNotes&gt;NA&lt;/releaseNotes&gt;
    &lt;/metadata&gt;
    &lt;files&gt;
      &lt;file src="obj\**\*.*" exclude="*.*" /&gt;
    &lt;/files&gt;
  &lt;/package&gt;
  </code></pre>