xsd.exe to generate classes as separate files?

前端 未结 1 1406
滥情空心
滥情空心 2021-01-05 05:00

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

I

相关标签:
1条回答
  • 2021-01-05 05:56

    I don't know of any possibility using xsd.exe or plain VS, but it is possible using ReSharper. Right-click on the file -> Refactor -> Move types into matching files.

    0 讨论(0)
提交回复
热议问题