Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有人遇到过这种情况或找到解决方案?我尝试了以下方法:
这两种选择都没有影响。请注意,生成的 XML 文档与 dll 同名并包含在其中。
啊哈。我找到了发生这种情况的原因。
如果您在 Visual Studio 中引用您的ILMerge项目(即 as Add Reference -> Project),那么Intellisense将不会使用生成的 XML 文档。
Add Reference -> Project
解决方法:在您的后期构建步骤中,将您的输出文件复制到一个公共目录(例如Reference Assemblies),然后链接到 DLL。您仍然可以在解决方案中拥有该项目,但是您必须设置项目依赖项,以便在您进行更改时构建它。
Reference Assemblies
高温下,