【发布时间】:2018-01-10 11:18:23
【问题描述】:
我创建了一个包含以下 files 元素的 Nuspec 文件:
<files>
<file src="lib\" target="lib" />
<file src="tools\" target="tools" />
<file src="content\" target="content" />
<file src="other-stuff\" target="content" />
</files>
当我将此 Nuget 包恢复到任何项目时,other-stuff 文件夹的内容将添加到项目中(如预期的那样)。
有什么方法可以确保此内容放置在文件系统中,但未添加到项目/解决方案中?我不希望此内容显示在 Visual Studio 中。
【问题讨论】:
标签: nuget nuget-package nuspec