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="..\..\bin\Release\*.dll" target="lib\Net40" />
19       <file src="..\..\bin\Release\*.xml" target="lib\Net40" />
20       <file src="..\..\bin\Release\Properties\Nuget\*.transform" target="content" />
21     </files>
22 </package>

 

posted @ 2014-04-23 17:43  vwvjvwv  阅读(1222)  评论(0编辑  收藏  举报