There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
When using nuspec / csproj pair, provide a way to exclude package dependencies
The default behavior of nuget pack is great when its called against a csproj. It will look at the corresponding nuspec and packages.config files and it will automatically include dependencies.
However, not all dependencies are runtime dependencies. Some dependencies are build-time tools type dependencies.
I don't see a convenient means of excluding a package dependency that doesn't need to ship with the resulting nupkg file.
I would like to see this added as a feature. A simple means of excluding dependencies in the .nuspec file would suffice.