title: NuGet package from project.json with content files
body: <p>I'm making a NuGet package containing some views and controllers that I want to include in a number of MVC Core 1 projects so that we can share application areas such as user management.</p>
  
  <p>With these pack options I am obtaining a .nupkg that does indeed contain the files.</p>
  
  <pre><code>     "scripts": {
      "postcompile": [ "dotnet pack --no-build --configuration %compile:Configuration%" ] // rwb
    },
  
    "packOptions": {
      ...
      "files": {
        "include": [ "wwwroot/**.*", "Views/**.*" ]
      }
  }
  </code></pre>
  
  <p>However, the .nuspec file inside the .nupkg does not contain any files elements and thus the included files do not get copied into the target project.</p>
  
  <p>What do I need to do in order to get the files element to be produced in the .nuspec file?</p>