public static void TestUncommitedConfig(SetupInfo setupInfo) { var testUncommitedConfigTemplate = Path.Combine( setupInfo.Props.SolutionPath, @"CerebelloWebRole.Tests\Uncommited.template.config"); var testUncommitedConfig = Path.Combine( setupInfo.Props.SolutionPath, @"CerebelloWebRole.Tests\Uncommited.config"); var newText = TemplateProcessor.ProcessTemplate(File.ReadAllText(testUncommitedConfigTemplate), setupInfo.Props, true); File.WriteAllText(testUncommitedConfig, newText); }
public static void UncommitedXml(SetupInfo setupInfo) { var fsUncommitedXmlTemplate = Path.Combine( setupInfo.Props.SolutionPath, @"CerebelloWebRole\Uncommited.template.xml"); var fsUncommitedXml = Path.Combine( setupInfo.Props.SolutionPath, @"CerebelloWebRole\Uncommited.xml"); var newText = TemplateProcessor.ProcessTemplate(File.ReadAllText(fsUncommitedXmlTemplate), setupInfo.Props, true); File.WriteAllText(fsUncommitedXml, newText); }