NuGet 包未将 XMLDoc 文件与 dll 一起复制到 bin [英] NuGet Package not copying XMLDoc file along with dll to bin
问题描述
我正在使用 NuGet GUI 并尝试将 XML 文件与我的 DLL 一起包含以与 DLL 一起分发帮助.
I'm using NuGet GUI and trying to include XML File along with my DLL to distribute help along with the DLL.
当我在任何项目中安装包时,它成功添加了 DLL 引用,但在添加包的项目的 bin 文件夹中没有生成 XML 文件.
When I install package in any of the project, it adds the DLL reference successfully, but XML file is not generated inside bin folder of the project in which package is added.
XML 文件在 packages\lib.XML 中可用
XML file is available within packages\lib.XML
非常感谢任何帮助.
提前致谢
推荐答案
站在你这边:
查看这篇文章:
在开发者方面:
NuGet 包的创建者决定了其中的一部分.
The creator of the NuGet package decides some of this.
http://docs.nuget.org/docs/creating-packages/creating-and-publishing-a-package
查找:在包安装和删除过程中自动运行 PowerShell 脚本
所以我认为 Nuget 包的开发者必须编写 voo-doo.
So I think the developer of the Nuget package would have to write the voo-doo.
或者您必须自己手动包含它.
Or you'll have to manually include it yourself.
这篇关于NuGet 包未将 XMLDoc 文件与 dll 一起复制到 bin的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!