Table of Contents

IT:AD:Chocolatey:HowTo:Create a Package/Nuspec File

Summary

Process

Specs

The format of the nuspec as it pertains to the IT:AD:Chocolatey package file is described here: * https://github.com/chocolatey/chocolateytemplates/blob/master/_templates/chocolatey/__NAME__.nuspec

The chocolatey file format is basically:

<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
  <metadata>
    <id>__NAME__</id>
    <title>__NAME__</title>
    <version>__REPLACE__</version>
    <authors>__REPLACE__</authors>
    <owners>__CHOCO_PKG_OWNER_NAME__</owners>
    <summary>__NAME__</summary>
    <description>__NAME__</description>
    <projectUrl>__REPLACE__</projectUrl>
    <tags>__NAME__ admin</tags>
    <copyright></copyright>
    <licenseUrl>__REPLACE__</licenseUrl>
    <requireLicenseAcceptance>false</requireLicenseAcceptance>
    <!--<iconUrl>https://raw.github.com/__CHOCO_PKG_OWNER_REPO__/master/__NAME__/__NAME__.png</iconUrl>-->
    <!--<dependencies>
      <dependency id="" version="" />
    </dependencies>-->
    <releaseNotes></releaseNotes>
  </metadata>
  <files>
    <file src="tools\**" target="tools" />
  </files>
</package>