Text Manipulation Split Classes in a Single File into mulitple Files
I used XSD.EXE to to generate a C# files from an XSD schema. Unfortunately, this tool extracts all the classes into a single allClasses.cs file.
Has anyone got a good technique(or tool) that will开发者_运维知识库 extract each of the classes in the allClasses.cs file into their own respective file e.g. ClassA.cs, ClassB.cs, etc. ?
Just released ReSharper 5.0 have project-level refactorings. Right click on the file, Refactor -> Move types into matching files
You can use re-sharper to separate the classes
https://stackoverflow.com/questions/169310/is-using-resharper-a-time-saver
精彩评论