The documents page provides a link to the Nuspec file specification: http://nuget.codeplex.com/documentation?title=Nuspec%20Format.
Based on that page, I thought there was a way to specify the files to be included in a specific package by including a <files> element within the <metadata> element. When I try to include this element, NuGet.exe errors with the following exception:
The element 'metadata' in namespace 'http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd' has invalid child element 'files' in namespace 'http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd'. List of possible elements
expected:'dependencies, requireLicenseAcceptance, iconUrl, tags, owners' in namespace 'http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd'.
I have tried building from source (nice build script, btw) and also just downloading the most recent command line app from the site and I see the error in both cases. The last trunk commit's nuspec.xsd (in the NuPack.Core project) shows that the <files>
element is valid so at this point I'm very confused.
On a positive note, I really like the idea of a package manager for .Net and appreciate all the hard work and effort put into this. I'd love to be able to add my open source projects to NuGet and look forward to working through this issue.