title: Set content files to "copy local : always" in a nuget package
body: <p>I generate a nuget package from a project with this command in the post-build event. the variable <code>%conf%</code> is set to the right configuration (debug or release) and <code>%1</code> is the project name (e.g. &quot;MyCompany.MyProject&quot;).</p>
  <pre><code>nuget pack -Prop Configuration=%conf% &quot;%1.csproj&quot; -exclude *.sql -IncludeReferencedProjects
  </code></pre>
  <p>This package is for our own usage only, it will never be published on nuget. It ends in our private repository.</p>
  <p>In the project, there is a file that is set to <code>generate action : content</code> and <code>copy local : always</code>. (My Visual Studio is in French, so I'm not 100% sure of the translation). Let's name it <code>importantfile.xml</code>.</p>
  <p>In the generated package, I end up with this structure :</p>
  <pre><code>- content
      - importantfile.xml
  - lib
      -net45 (.NetFramework,Version=v4.5)
          -MyCompany.MyProject.dll
  </code></pre>
  <p>Which is fine, I want <code>importantfile.xml</code> to be deployed in the package, because, well, this file is important!</p>
  <p>When I install the package in another project, <code>importantfile.xml</code> is deployed at the root of the project. That's OK. But it is not set to <code>copy local : always</code>.</p>
  <p><strong>I need <code>importantfile.xml</code> to be <code>copy local : always</code> in this project where I install my package.</strong></p>
  <p><strong>How can I achieve that?</strong></p>
  <p><strong><em>Notes :</em></strong></p>
  <p>I <em>can</em> set <code>copy local : always</code> on the file just after installing the package, that's no big deal. I would live with it if later updates of the package would let this property as-is, which is not the case. When updating the package, <code>copy local</code> is reset to <code>never</code> (as stated <a href="https://nuget.codeplex.com/workitem/1854" rel="nofollow noreferrer">here</a>).</p>
  <p>There's a nuspec file in the project's folder, here it is :</p>
  <pre><code>&lt;?xml version=&quot;1.0&quot;?&gt;
  &lt;package &gt;
    &lt;metadata&gt;
      &lt;id&gt;$id$&lt;/id&gt;
      &lt;version&gt;$version$&lt;/version&gt;
      &lt;title&gt;$title$&lt;/title&gt;
      &lt;authors&gt;$author$&lt;/authors&gt;
      &lt;owners&gt;$author$&lt;/owners&gt;
      &lt;requireLicenseAcceptance&gt;false&lt;/requireLicenseAcceptance&gt;
      &lt;description&gt;$description$&lt;/description&gt;
      &lt;copyright&gt;Copyright 2014&lt;/copyright&gt;
      &lt;tags&gt;some random tags&lt;/tags&gt;
    &lt;/metadata&gt;
  &lt;/package&gt;
  </code></pre>