Skip to content

Commit

Permalink
(chocolateyGH-10) Original packages.config format
Browse files Browse the repository at this point in the history
Use the original packages.config format to cause the least amount of
churn from users that have already created and invested in
packages.config files.
  • Loading branch information
ferventcoder committed Feb 4, 2015
1 parent 7fe37c8 commit 864a666
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ namespace chocolatey.infrastructure.app.configuration
/// XML packages.config file package element
/// </summary>
[Serializable]
[XmlType("package")]
//[XmlType("package")]
public sealed class PackagesConfigFilePackageSetting
{
[XmlAttribute(AttributeName = "id")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ namespace chocolatey.infrastructure.app.configuration
/// XML packages.config configuration file
/// </summary>
[Serializable]
[XmlRoot("chocolatey")]
[XmlRoot("packages")]
public class PackagesConfigFileSettings
{
[XmlArray("packages")]
[XmlElement("package")]
public HashSet<PackagesConfigFilePackageSetting> Packages { get; set; }
}
}

0 comments on commit 864a666

Please sign in to comment.