Export (0) Print
Expand All
Expand Minimize

Compiler Warning (level 1) CS1590 

Error Message

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()
   {
   }
}

Community Additions

ADD
Show:
© 2014 Microsoft