protected void SaveConfigurationFile() { File.WriteAllLines(MainConfigurationSourcePath, new[] { @"<configuration />" }); DesignConfigurationSource outputSource = new DesignConfigurationSource(MainConfigurationSourcePath); ConfigurationSource.Save(outputSource); }
protected override void Act() { ConfigurationSource.Save(new DesignConfigurationSource(MainConfigurationFile)); }