2
所以我有一个网站,我试图为Octopus Deploy打包。如何从nuget包中排除子目录和内容
我有以下文件夹结构:
Web | Views | WantThis Dontwantthis WantThis1 WantThis2 ... (lots more) Scripts
我试图排除 “Dontwantthisfolder”
所以我nuspec看起来是这样的:
... <file src="..\Web\Views\**\*.*" exclude="**\Dontwantthis\**" target="web\Views" /> ...
虽然不工作,但我还是得到了“Dontwantthis”文件夹。
任何人都知道我可以做到这一点?