Missing files in nuget package

Topics: General
Apr 29, 2013 at 9:28 PM
I am using nuget to create a deployment package for my project.

The completed package is missing many files. One such file is .loadpath from the root of the package. I'm assuming it excluded it because of the (.) at the start of the file, but I dont see any options to include this file.

Comparing the source and the package, there are 8,224 files in my source directory. After extracting the package, there are 8,140 files.. So a bunch of files are missing from my archive.

I'm just using the syntax: nuget.exe pack Files.nuspec

the nuspec looks like:

<?xml version="1.0"?>
<package>
<metadata>
<id>Sites</id>
<version></version>
<authors>XXX</authors>
<licenseUrl>http://XXX.com/license</licenseUrl>
<projectUrl>http://XXX.com</projectUrl>
<iconUrl>http://XXX.com</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>This is a non-environment specific deployment package for the sites</description>
<summary>Websites Deployment Archive</summary>
<language>en-US</language>
</metadata>
</package>

How can I get NuGet to include all the files?
Developer
Apr 29, 2013 at 10:02 PM
From http://docs.nuget.org/docs/reference/command-line-reference#Pack_Command:

Use the -NoDefaultExcludes flag with the pack command
Apr 29, 2013 at 10:07 PM
Awesome, thanks!