XDCMake Warning XDC0003

Error Message

<include> tags not supported in .XDC files

An <include> tag can be used in a source code file. The <include> tag is processed and expanded by the compiler when generating .xdc files. However, it is not allowed to insert an <include> tag into an .xdc file.

No .xml file is generated when this diagnostic occurs.

For more information, see XDCMake.

The following sample generates XDC0003:

// xdc0003.xdc
// compile with: xdc0003.xdc
// XDC0003 expected
<?xml version="1.0"?>
<doc>
<members>
    <member name="T:A" decl="true" source="c:\test.cpp" line="3">
        <summary>Sample XML doc comment</summary>
                <include file="include.me" xpath="*"/>
    </member>
</members>
</doc>