Embedding Intellisense Xml Documentation in Assembly?

核能气质少年 提交于 2019-12-03 22:13:50

Unfortunately you will need to supply both as Visual Studio only knows to look at XML documents for Intellisense.

If you search C:\Windows\Microsoft.NET\Framework\v2.0.50727 you will find that all of the .net assemblies you may be referencing in your applications are using the xml files. Visual studio will only provide intellisense for assemblies if the xml file exists. For example, if you were to close Visual Studio, then remove the System.Drawing.xml file and then reopen VS, there should not be any intellisense for that assembly. You would then need to close VS, copy it back, and then reopen VS for the intellisense to work again.

Am i missing something? I always comment as usual (using 3 slashes or 3 tick marks (vb)), use the built in xml tags and when i use the assembly i get the intellisense - i rarely use an extrernal xml file.

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