BE0016: Unable to extract region '[region]' in source file '[file]' (missing #endregion?)

Error BE0016: Unable to extract region '[region]' in source file '[file]' (missing #endregion?)

Cause

This error occurs if the region referenced in a region attribute on a code element in an HTML additional content file cannot be extracted from the indicated source code file.

Solution

Check both the code element to be sure that the region specified is correct and the indicated source code file to ensure that the region exists in there and that the names match between the source code file and the additional content file. Also ensure that the region defined in the source code file is well formed and has both a start and an end statement to define it.

See Also

Other Resources