I was getting below exception when I try to generate a class file from my XML schema using command (xsd “mySchema.xsd”)

Reason & Fix –
- Reason is, Xsd tool unable to determine whether to generate Dataset or Class
- Fix is, pass argument “/c” to generate Class or “/d” to generate Dataset
- In my case I wanted to get a class so I prepared command (xsd “mySchema.xsd” /c)

🙂

![[Step by Step] Beginner : Create a PCF control and add it to a custom page](https://rajeevpentyala.com/wp-content/uploads/2024/12/image-49.png)
![[Step by Step] Configure and run 'Pipelines in Power Platform'](https://rajeevpentyala.com/wp-content/uploads/2024/08/image.png)
Leave a comment