Avatar of rye004
rye004
Flag for United States of America asked on

How to convert a large XML file to a Data Class for C# in Visual Studio?

I have a large 3 gig XML file that I am trying to convert into a data class.  I know that Visual Studios as the “Paste XML As Classes” option, however this won’t work with my large XML file and I am not able to make a smaller set of it.

 

Is there another way to convert my large XML file to a Data Class for C#?

XMLC#Microsoft Visual Studio

Avatar of undefined
Last Comment
ste5an

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Rikin Shah

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ste5an

In addition to the proposed steps when there is nothing else:

First check whether an official XSD exists for these files. In this case, use the official XSD instead.
Your help has saved me hundreds of hours of internet surfing.
fblack61