Closed JoelHT-Landmark closed 8 years ago
Fix is easy in the TT file:
var packages = packagesDoc.Descendants("package")
.Where(p => (p.Attribute("developmentDependency") == null) &&
(!p.Attribute("id").Value.ToLowerInvariant().StartsWith("nuget.")));
Currently the nuspec template only suppresses packages with name starting "NuGet.".
If it could suppress packages where developmentDependency="true", then it would cater for more general development dependencies that shouldn't be included in the nuspec file.