To generate a C# class from change the extension to .cab from .xsn.

Open and copy the content of cab file to a separate folder

Open the Visual Studio Developer Command Prompt and run the XSD.exe to generate the class

Hope it helps…
Discover more from Nishant Rana's Weblog
Subscribe to get the latest posts sent to your email.

One thought on “Generate a C# class from an InfoPath form”