This schema has the same type name as its namespace

Issue


After installing BizTalk 2013, just to check I started to create a project with name as Test. Then added a schema named Test with Root tag named as Test and two elements. Signed the project and tried to build it and following error appeared.



schema type as its namespace

To find out the problem,  I went through the properties of the schema and found that Namespace and Type name is same. Well I don’t  the exact reason but it seems having same namespace and type name causes ambiguity in resolution. 

properties window

Why it happened:  

Namespace (Project Name) and Type Name (Schema name) were same

What to do : 

Rename the schema and Type Name Or delete the schema and create new schema with name different than that of Project Name.

Post a Comment

If you have any suggestions or questions or want to share something then please drop a comment

Previous Post Next Post