Sometimes we get following exception and stuck why this happens also changing schema file name and root node name solution will not build.

The namespace ‘Project.Schema.xyz’ already contains a definition for ‘abc’

Solution:

You need to change the Type Name of the Schema then It will build the solution without any issue. As below screenshot:

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s