Error - Nested Class Name Collision

 

Error Code

BEC2017

Explanation

The Type Name property of this schema was found to be the same as the RootNode TypeName property of one of the root nodes in the schema. C# disallows nested classes with the same names; therefore this condition causes an error.

User Action

You must change one or both of the relevant property values so that you avoid the name collision. Either:

  • Select the relevant schema file in Microsoft Visual Studio Solution Explorer, and then in the Properties window, change the Type Name property to a unique valid value.

    - or -

  • Select the indicated root node, and then in the Visual Studio Properties window, change the RootNode TypeName property to a unique valid value.

Community Additions

ADD
Show: