Our Organization is creating a global dll for all of our projects in the coming years. The dll is created, and implemented for use, but I'm having a problem getting the summary tags to work. When hovering over a specified method from the dll, I want to be able to display the summary for any developer, so they will not have to go into the dll itself.
I came here and found this question: How to add a mouse-over summary
The problem is, the summary is not displaying 开发者_如何学Cwhen the method is being called from outside the dll itself (however, from inside the dll the summary is displaying just fine).
Is there any way to "import" the summary from the dll so it will be displayed when any user hovers over the appropriate method?
I assume you're not adding this project to your various solutions, but instead are building it once and copying the .dll around, and browsing out to the .dll when you add references in your projects.
When you copy this .dll around, are you also copying the ProjectName.xml file? That's where the compiler writes all of these documentation comments when you build, and is where Visual Studio gets the information it displays in the Intellisense tooltips.
More info on MSDN: XML Documentation Comments (C# Programming Guide)
I believe you should look at putting your DLL into the GAC
精彩评论