NuGet pack doesn't include inner nuspec files with package type Template #6862
Labels
Functionality:Pack
Priority:3
Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog.
Type:DCR
Design Change Request
Milestone
Details about Problem
Product: NuGet CLI
NuGet version 4.4.1.4656
.NET Command Line Tools (2.1.4)
Windows 10
To reproduce
Run
nuget pack
in theStarDefaultPackage
directory of the attached project at the bottom of this issue.Expected
All the files in the content directory are copied.
Actual
All the files except for the inner nuspec file in
StarDefaultPackage\content\src\StarDefault
are included.Use case
I want to create a custom template for
dotnet new
that I can distribute as a NuGet package. The template has a nuspec file that I want to include.Other suggested things
Verbose Logs
Notice how the nuspec file that should be next to
content/src/StarDefault/StarDefault.csproj
is not included.Sample Project
Starcounter.DotnetTemplates.zip
The text was updated successfully, but these errors were encountered: