i hava a asp.net mvc 4 project:
-
project
-
nuget
-
content
- .js ,.css and *.jpg
-
content
-
content
- .js ,.css and *.jpg /* build action is content */
-
Views
- web.config
- Plugin.config
-
nuget
in project.nuspec file:
<package>
<metadata>
<id>project</id>
<version>$version$</version>
<!-- …… -->
</metadata>
<files>
<file src="nuget\content\**\*.*" target="content\content\" />
<file src="Plugin.config" target="content\" />
<file src="Views\web.config" target="content\Views\" />
</files>
</package>
execute nuget command below:
nuget pack project.csproj -Build
It's create a package that's include all files above in the project...
I can only include explicitly specify a list of files in the .nuspec file?