BE0041: Project XML comments file does not exist: [commentsFile]

Error BE0041: Project XML comments file does not exist: [commentsFile]

Cause

This error occurs if the XML comments file from a project file documentation source cannot be found.

Solution

The most likely cause of this error is that the project has not been built. Build the project so that the comments file exists and then build the help file project. Also ensure that the XML comments file generation option is enabled. In addition, check the Configuration and Platform settings on the documentation source to ensure that they are selecting the assembly that was built (i.e. Debug or Release). If they are not specified, check the settings in the GUI (if used) or the command line options (if built with MSBuild) for the correct settings. If not specified, they default to Debug and AnyCPU respectively.

See Also

Other Resources