XSD.EXE生成类作为单独的文件? [英] xsd.exe to generate classes as separate files?
本文介绍了XSD.EXE生成类作为单独的文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的xsd文件的集合。
当使用生成的类XSD.EXE,输出文件是长着成百上千局部类的一些〜17000线。
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.
在整洁的利益,是否有可能要么XSD.EXE甚至视觉工作室(2010年),以这些类,每个分割成一个单独的文件?
In the interest of neatness, is it possible for either xsd.exe or even visual studio (2010) to split these classes, each into a separate file?
推荐答案
ReSharper的。 >重构 - - >移动类型分为匹配的文件
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.
这篇关于XSD.EXE生成类作为单独的文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文