I'm trying to create a NuGet package for an MSBuild Extension that should contain a template .nuspec file.
However when I specify a .nuspec file to be content of my package, I'm not able to install it in a .nuget folder of the target project.
As you can see in the screenshot, it will create a .nuget\NuSpecTemplate.nuspec folder in which the embedded .nuspec file will be created. I've named the template .spec, since NuGet will ignore the source file if it is named .nuspec.
Is this by design, or is it a bug in NuGet?