tdbeckett
tdbeckett

Reputation: 708

How to make converted classes from an XSD file reside in their own class files?

I using the XSD.exe provided in Visual Studio Tools to generate classes from an XSD file. Currently all of the classes are generated in 1 CS file. Is it possible to have each class generated into separate CS files?

Upvotes: 0

Views: 119

Answers (1)

devmb
devmb

Reputation: 805

ReSharper can do this. Right-click on the generated cs file -> Refactor -> Move types into matching files. But i would recommend to keep it in one file, cause of the reason D Stanley mentioned.

Upvotes: 1

Related Questions