Nuspec 范本文件

 1 <?xml version="1.0"?>
 2 <package >
 3     <metadata>
 4         <id>$id$</id>
 5         <version>$version$</version>
 6         <title>$title$</title>
 7         <authors>$author$</authors>
 8         <owners>$author$</owners>
 9         <requireLicenseAcceptance>false</requireLicenseAcceptance>
10         <description>$description$</description>
11         <releaseNotes>Summary of changes made in this release of the package.</releaseNotes>
12         <copyright>Copyright 2014</copyright>
13         <tags>Tag1 Tag2</tags>
14     </metadata>
15   
16     <!-- 包含指定文件, 否则将打包整个项目-->
17     <files>
18       <file src="....inRelease*.dll" target="libNet40" />
19       <file src="....inRelease*.xml" target="libNet40" />
20       <file src="....inReleasePropertiesNuget*.transform" target="content" />
21     </files>
22 </package>
原文地址:https://www.cnblogs.com/vwvjvwv/p/3683462.html