Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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()
{
}
}
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.