I have a nuget package containing some static files
<?xml version="1.0" encoding="utf-8" ?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
....
....
</metadata>
<files>
<file src="static\css\index.css" target="content\static\css\index.css"/>
<file src="static\js\index.js" target="content\static\js\index.js"/>
</files>
</package>
If I install this package in a Visual Studio project, the files are copied to the project correctly. But when I manually delete these files from the project and try to restore the package (via "restore nuget packages" option of the Solution), the files are not copied again.
The reason is that the package is already installed
Any idea how to force the files being copied at restore?