Compiler Error CS1569
TOC
Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

Compiler Error CS1569

Error generating XML documentation file 'Filename' ('reason')

When attempting to write the XML documentation to the file named in the message, an error occurred for the reason specified. The reason may be something like "network drive not found," or "access denied." Often, the reason will suggest what needs to be done to correct the error. For example, if the error says "access denied," you would verify that you have write permission on the file.

// 1569a.cs
// compile with: /doc:CS1569.xml
// post-build command: attrib +r CS1569.xml
class Test
{
   /// <summary>Test.</summary>
   public static void Main() {}
}

The previous sample generated an .xml file that was then set to read only. This sample attempts to write to the same file. The following sample generates CS1569.

// CS1569.cs
// compile with: /doc:CS1569.xml
// CS1569 expected
class Test
{
   /// <summary>Test.</summary>
   public static void Main() {}
}
Show:
© 2016 Microsoft