xsd.exe to generate classes as separate files?

前端 未结 1 1408
滥情空心
滥情空心 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)
提交回复
热议问题