使用我在另一个 VS2010 项目中创建的 DLL 不会显示智能感知工具提示
我已经在 Visual Studio 2010 中为项目创建了一个 DLL。 我在另一个项目中使用这个 DLL。使用这些功能是完全可能的 - 但我看不到任何工具提示。 另外 - 如果我在同一个项目中,可以看到工具提示。
我读过一些关于在第二个项目中使用带有 DLL 名称的 XML 文件的问题,但恐怕我没有任何 XML 文件(据我所知......)。
我将感谢您的帮助! 利奥尔
I've created a DLL to a project in Visual Studio 2010.
I'm using this DLL in another project. Using the functions is completely possible - but I can't see any tooltip.
In addition - if I'm in the same project the tooltips can be seen.
I've read some issues about using the XML file with the name of the DLL in the 2nd project, but I'm afraid I don't have any XML file (as far as I see...).
I'll appreciate your help!
Lior
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在 DLL 的项目设置中,您可以指定每次构建程序集时都创建一个 XML 文件。该设置位于“构建”选项卡的“输出”区域,称为“XML 文档文件”。勾选前面的复选框,将创建 xml 文件。
当您在另一个项目中使用 dll 时,您必须将 xml 文件与程序集文件一起复制以获取 IntelliSense 信息。
In the project settings of your DLL you can specify that a XML file will be created each time the assembly is build. Thi setting is located on the "Build" tab, region "Output" and is called "XML documentation file". Mark the checkbox in front and the xml file will be created.
When you use the dll in another project you have to copy the xml file along with the assembly file to have the IntelliSense information in place.