Grabware

Windows · Developer Tools

(unofficial) Chocolatey .nuspec Checker (CNC) (Script)

(unofficial) Chocolatey .nuspec Checker checks your Chocolatey .nuspec files for common errors and ommisions.

Version 2024.6.26 · by Bill Curran, asheroto

Download

Official site: github.com

About (unofficial) Chocolatey .nuspec Checker (CNC) (Script)

---

### [choco://choco-nuspec-checker](choco://choco-nuspec-checker)

To use choco:// protocol URLs, install [(unofficial) choco:// Protocol support ](https://chocolatey.org/packages/choco-protocol-support)

---

![Screenshot of (unofficial) Chocolatey .nuspec Checker (CNC) (Script)](https://rawcdn.githack.com/asheroto/choco-nuspec-checker/cfa462a9f4e4fdda037c0051b1af80bb335f01ff/choco-nuspec-checker_screenshot.png)

### Original Author

CNC was originally created by [Bill Curran](https://github.com/bcurran3). The original repo can be found [here](https://github.com/bcurran3/ChocolateyPackages/tree/master/choco-nuspec-checker).

### Description

**choco-nuspec-checker** (**CNC**) is a PowerShell script I designed for Chocolatey package maintainers/creators to check Chocolatey .nuspec files for common errors and omissions... and automatically fix most of them! Find out AND FIX what the Chocolatey validator is going to tell you BEFORE you submit your package. **CNC** also goes beyond it's original scope and checks for common Chocolatey install/uninstall script errors and omissions as well.

### FEATURES:

* **CNC** checks all .nuspec elements and reports any missing or template default values, now recursively too!

* **CNC** checks for all verifier messages (guidelines, suggestions, and notes) and reports them if applicable

* **CNC** checks for dead URLs and reports them

* **CNC** checks for GitHub direct links, reports them, and can convert them to various CDN URLs (default=Staticaly)

* **CNC** checks for RawGit CDN links, reports them, and can convert them to various CDN URLs (default=Staticaly)

* **CNC** can open all your .nuspec element URLs in your default browser for quick viewing

* **CNC** checks and reports current status of your package on chocolatey.org

* **CNC** can add a standard template header, footer, and/or package notes to your .nuspec description with variables

* **CNC** checks nuspec and PowerShell scripts for correct UTF-8 encoding and reports if the encoding is incorrect

* **CNC** can re-write your nuspec in UTF-8 w/o BOM format

How to install (unofficial) Chocolatey .nuspec Checker (CNC) (Script)

  1. Click Download — the developer's official website opens in a new tab.
  2. Download the latest version there and run it. Choose Custom/Advanced where offered, and skip any bundled extras.
  3. Prefer the command line? With Chocolatey you can install and update it with: choco install unofficial-chocolatey-nuspec-checker-cnc-script
  4. Open (unofficial) Chocolatey .nuspec Checker (CNC) (Script) once it finishes installing.
How to install Windows software with Chocolatey

Frequently asked questions

Is (unofficial) Chocolatey .nuspec Checker (CNC) (Script) free to download?

Yes. The Download button sends you to github.com, the developer's official site, where (unofficial) Chocolatey .nuspec Checker (CNC) (Script) is available to download. Grabware doesn't host or modify any files.

What is the latest version of (unofficial) Chocolatey .nuspec Checker (CNC) (Script)?

The version listed here is 2024.6.26, published /Date(1719. The developer's site always has the newest release.

How do I install (unofficial) Chocolatey .nuspec Checker (CNC) (Script) from the command line?

With Chocolatey, run: choco install unofficial-chocolatey-nuspec-checker-cnc-script. This installs it from the official source and keeps it updated.

Is (unofficial) Chocolatey .nuspec Checker (CNC) (Script) safe?

(unofficial) Chocolatey .nuspec Checker (CNC) (Script) downloads directly from the developer. As always, scan the installer with your antivirus and choose Custom setup to skip any bundled extras.

Alternatives to (unofficial) Chocolatey .nuspec Checker (CNC) (Script)

More