我正在使用Summary属性在VS 2010中记录我的类成员.当我构建项目时,构建XML文件(稍后我将在开发中使用它).类成员的摘要之一不包含在XML文件中,而是出现错误"为成员忽略了格式错误的XML注释".
摘要文本如下.我不明白什么是格式错误.我应该逃避&角色并使用%26吗?
/// <summary>
/// URI of a web page to convert. Must start with http:// or https://. Several URI of web pages can be passed to create one PDF. For example if http://www.google.com+http://www.nytimes.com URI will be passed the two web pages will be merged into one PDF.
/// If URI has special characters like ? or & they must be encoded.
/// </summary>
Run Code Online (Sandbox Code Playgroud)