I have the following nuspec file:
<files>
<file src="..\.BuildScripts\Tools\*.ps1" target="tools" />
<file src="..\Build\Results\*.*" target="content" exclude="*.txt" />
</files>
when I run NuGet pack project.nuspec
, the process completes without any errors, however the tools directory of the created package is empty. When I change the path of the first line to a non-existing path, I do get an error (File not found
).
What is wrong with the NuSpec file?