VS2005 VB.NET XML Comments ''' - stopped working

爱⌒轻易说出口 提交于 2019-12-08 15:49:56

问题


I'm using VS2005 in a solution with a mix of VB and C# in different projects.

I use this solution on several different computers and XML comments with both /// (c#) and ''' (VB) have been fine for months.

all of a sudden, on my main development machine, they've stopped working in VB. They still work in C#.

They work in other projects, too (in VB). It's just all VB projects within this one solution.

Does anyone have any ideas?

I can't pinpoint when it stopped working as I haven't modified much of the VB code for weeks/months.


回答1:


aha!

in the 'compile' tab under properties, the 'generate documentation' checkbox was not ticked.

looking at SVN it looks like someone checked in the VB projects with this unticked, for some reason.

thanks for the help! it's my first time using this site. looks like the guys involved have done a good job. i love the fact you don't have to register.




回答2:


The one reason this might be the case is that the XML file is no longer being created/updated. Make sure the XML Documentation file is set in the project property pages. Has your XML file been put under source control and if so is it checked out on a build. If not then it won't update.



来源:https://stackoverflow.com/questions/108717/vs2005-vb-net-xml-comments-stopped-working

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