Summary is not showing in the assembly if it is added as a reference

半腔热情 提交于 2019-12-02 21:40:57

You need to generate XML documentation for the assembly (a file named myassembly.xml) and copy it alongside your .dll where it's referenced by your other projects. See this page in MSDN for instructions.

Pushparaj
  1. Go to the solution explorer of your source code. Right click on the project name and go the properties.
  2. go to the Build tab if you are using c# and select the check box Xml documentation file.
  3. When you build your source code the Xml file will be generated in the location where your dll is present.
  4. while copy your dll to the solution copy the xml file and paste into the bin of your destination solution.

When you compile classes that have xml comment, normally a .xml file is created. (check the options in Visual Studio)

When you add a reference to such an assembly, make sure the XML file is present. The documentation is not contained within the assembly but within the xml file.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!