C# Class Library method summaries not showing in intellisense of vb.net project

99封情书 提交于 2020-01-13 07:56:06

问题


(VS 2008) I'm using a C# library for my VB.NET project. And the method summary/notes or what they are called do not show in intellisense. Is this supposed to be like that? Or is there something I must do to fix it? And if not, will VS 2010 be able to do this?

EDIT: Still unresolved. Now building library dll + xml file, but how to import the xml file in my vb project? See image: http://i52.tinypic.com/25kh5xw.png


回答1:


In C# library, go to the properties on the build tab, and check the checkbox for including XML documentation and specify the name and path. After that include the new library in your VB.Net project.




回答2:


one reason could be resolved by importing the namespace needed

another reason could be due to faulty writing

if you send the code where the problem is we might be able to help you




回答3:


If you're using source control (TFS or Github) then you need to the following:

  • Check in ( Push) for safe return point (base line)
  • Delete the references from the project.
  • Delete the custom dll's from the solution.

At this point the libs are marked as [removed], if you would add them again at this point, they will just be marked as [changed] again. This did not include the summaries for me.

  • Check in (push). dll's are now removed from source control as well.
  • Drag and drop the dll's (including xml) into the solution (I recommend using this method for including dll's
  • Add references to these dll's via Browse.
  • Check if you have summaries.
  • Check in (push).


来源:https://stackoverflow.com/questions/4482609/c-sharp-class-library-method-summaries-not-showing-in-intellisense-of-vb-net-pro

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