NuGet by Patrik

Sample NuSpec Manifest File

<?xml version="1.0" encoding="utf-8" ?>
<package>
 <metadata>
  <id>Nuget.Package.Name</id>
  <version>1.0.0</version>
  <title>Nuget Package Name</title>
  <authors>Company Ltd.</authors>
  <owners>Joe Smith</owners>
  <license type="expression">MIT</license>
  <projectUrl>https://www.website.com/project</projectUrl>
  <requireLicenseAcceptance>false</requireLicenseAcceptance>
  <description>A description of your package</description>
  <releaseNotes>Initial 1.0.0 release</releaseNotes>
  <copyright>Copyright 2022 CompanyLtd</copyright>
  <tags>sample nuget</tags>
  <dependencies>
   <group targetFramework=".NETStandard2.0">
   </group>
  </dependencies>
  <summary> A summary of your package </summary>
 </metadata>
 <files>
  <file src="README.txt" />
  <file src="lib\**" target="\lib\netstandard2.0" />
 </files>
</package>

Comments

Leave a Comment

All fields are required. Your email address will not be published.