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:
C#
// 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()
{
}
}
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
.NET feedback
.NET is an open source project. Select a link to provide feedback: