Share via


Compiler Warning (level 1) CS1590

Invalid XML include element -- Missing file attribute

A path or doc attribute, passed to the <include> tag, was missing or incomplete.

The following sample generates CS1590:

// CS1590.cs
// compile with: /W:1 /doc:x.xml

/// <include path='MyDocs/MyMembers[@name="test"]/*' />   // CS1590
// try the following line instead
// /// <include file='x.doc' path='MyDocs/MyMembers[@name="test"]/*' />
class Test
{
   public static void Main()
   {
   }
}