Bemærk
Adgang til denne side kræver godkendelse. Du kan prøve at logge på eller ændre mapper.
Adgang til denne side kræver godkendelse. Du kan prøve at ændre mapper.
XML document comment target: badly-formed XML: reason
Remarks
The compiler found some problem with the XML tags. Fix the problem and recompile
Example
The following example generates C4635:
// C4635.cpp
// compile with: /doc /clr /W3 /c
/// <summary>
/// The contents of the folder have changed.
/// <summary/> // C4635
// try the following line instead
// /// </summary>
public ref class Test {};
Notice that the output for this example says: End tag 'member' does not match the start tag 'summary'.
The problem with this example is that the end tag for <summary> is poorly formed, and the compiler does not recognize it as the <summary> end tag. The <member> tag is embedded in the .xdc file by the compiler in every /doc compilation. So, the problem here is that the end tag </member>, does not match the previous start tag that the compiler processed (<summary>.