private void SplitCrmSvcUtilOutputFileIntoOneFilePerType(string earlyboundconfigFilename, string destinationDirectoryPath, string typeNamespace) { var sourceCode = File.ReadAllText(earlyboundconfigFilename); var sourceCodeManipulator = new SourceCodeSplitter(_trace); sourceCodeManipulator.WriteToSeparateFiles(destinationDirectoryPath, sourceCode, typeNamespace); }
private void SplitCrmSvcUtilOutputFileIntoOneFilePerType(string earlyboundconfigFilename, string destinationDirectoryPath, string typeNamespace) { var sourceCode = File.ReadAllText(earlyboundconfigFilename); var sourceCodeManipulator = new SourceCodeSplitter(_trace); sourceCodeManipulator.WriteToSeparateFiles(destinationDirectoryPath, sourceCode, typeNamespace); // Remove the original single code file generated by crmsvcutil File.Delete(earlyboundconfigFilename); }