Xsd.exe to generate classes as separate files?

I have a collection of .xsd files. When generating classes using xsd.exe, the output file is ~ 17,000 lines long with hundreds and hundreds of partial classes.

In the interest of neatness, is it possible for xsd.exe or even visual studio (2010) to separate these classes, each in a separate file?

+8
c # visual-studio xsd
source share
1 answer

I do not know any possibility to use xsd.exe or simple VS, but ReSharper can be used. Right-click the file → Refactor → Move Types to the appropriate files.

+9
source share

All Articles