How to Read and Convert .xsd Extension File to a C # Class In order to do this and convert the site schema to make it possible to generate an xml with correct schema to be able to issue NFE.
How to Read and Convert .xsd Extension File to a C # Class In order to do this and convert the site schema to make it possible to generate an xml with correct schema to be able to issue NFE.
This command line can be used to generate the Classes, having the NF-e Schemas:
xsd.exe nfe_v3.10.xsd xmldsig-core-schema_v1.01.xsd /c /edb
Note that you must include the name of all imported XSDs in the main schema, so nfe_v3.10 and xmldsig-core-schema_v1.01 p>
XSD is accessible when using the Visual Studio Command Prompt.
I've used link an addon pro visual studio. Once installed, just right-click on xsd (inside the solution explorer) and then on Run Xsd2Code Generation
.