Specify a valid .NET type name for this root node.The current .NET type of this root node is invalid
In current project I have to work on papiNet schema, an opensource schema used for paper indus07y, this schemas for it can be downloaded here .
To start with, I created a project in visual studio and added PurchaseOrderV2R40 schema to it (which I downloaded from link mentioned above). To make sure all is ok with schema, I build the project and was encountered with errors for few nodes
"Specify a valid .NET type name for this root node.The current .NET type of this root node is invalid(it is reserved BizTalk Keyword or is an invalid C# identifier)"
as can be seen in below image.
The errors say that few mentioned nodes does not have valid .NET type name - it refers to RootNode TypeName property. As can be seen in image(marked in yellow), there is hyphen(-) used in RootNode TypeName and that is not allowed.
Comments
Post a Comment