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] Configure and run 'Pipelines in Power Platform'](https://rajeevpentyala.com/wp-content/uploads/2024/08/image.png)
![[Beginners] Power Fx: ShowColumns, AddColumns, RenameColumns and DropColumns](https://rajeevpentyala.com/wp-content/uploads/2024/04/record-ezgif.com-video-to-gif-converter-1-2.gif)
Leave a comment