I've refactored our SymbolSource NPE plugin code and packaged an extension for nuget pack that you can install using Chocolatey to run our package validation rules. To install just run:
It will copy a directory with the plugin to %LocalAppData%\NuGet\Commands, and remove it on cuninst.
But, there are a few "buts":
- Rules are only executed on the main package when running with -symbols. We are actually much more interested in validating the symbols package. Could this be arranged? :)
- If they were executed for both packages, how would we distinguish between them?
- Is there a way to get the package file name with IPackage?