Thursday, May 13, 2010

XML comment block must immediately precede the language element to which it applies. XML comment will be ignored.

That simply means that XML comments should be the first immediate thing over any method or wherever you apply. You can not write any comment after XML comments and before method. To reproduce same,
write a XML comment block and just after that write one single line comment and you will get this error for e.g.

'''XML comment below
''' <summary>
''' my summary
''' </summary>
''' <remarks>No Remarks</remarks>
'Because of this line you will see the error

2 comments:

  1. Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I'll be subscribing to your feed and I hope you post again soon. Big thanks for the useful info. Chinese translation

    ReplyDelete