aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Prebuild/src/Core/Nodes/SolutionNode.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Prebuild/src/Core/Nodes/SolutionNode.cs')
-rw-r--r--Prebuild/src/Core/Nodes/SolutionNode.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/Prebuild/src/Core/Nodes/SolutionNode.cs b/Prebuild/src/Core/Nodes/SolutionNode.cs
index bbf867e..3ea53a4 100644
--- a/Prebuild/src/Core/Nodes/SolutionNode.cs
+++ b/Prebuild/src/Core/Nodes/SolutionNode.cs
@@ -53,6 +53,7 @@ namespace Prebuild.Core.Nodes
53 #region Fields 53 #region Fields
54 54
55 private string m_Name = "unknown"; 55 private string m_Name = "unknown";
56 private string m_Version = "1.0.0";
56 private string m_Path = ""; 57 private string m_Path = "";
57 private string m_FullPath = ""; 58 private string m_FullPath = "";
58 private string m_ActiveConfig = "Debug"; 59 private string m_ActiveConfig = "Debug";
@@ -110,6 +111,18 @@ namespace Prebuild.Core.Nodes
110 } 111 }
111 112
112 /// <summary> 113 /// <summary>
114 /// Gets the version.
115 /// </summary>
116 /// <value>The version.</value>
117 public string Version
118 {
119 get
120 {
121 return m_Version;
122 }
123 }
124
125 /// <summary>
113 /// Gets the path. 126 /// Gets the path.
114 /// </summary> 127 /// </summary>
115 /// <value>The path.</value> 128 /// <value>The path.</value>
@@ -232,6 +245,7 @@ namespace Prebuild.Core.Nodes
232 public override void Parse(XmlNode node) 245 public override void Parse(XmlNode node)
233 { 246 {
234 m_Name = Helper.AttributeValue(node, "name", m_Name); 247 m_Name = Helper.AttributeValue(node, "name", m_Name);
248 m_Version = Helper.AttributeValue(node, "version", m_Version);
235 m_ActiveConfig = Helper.AttributeValue(node, "activeConfig", m_ActiveConfig); 249 m_ActiveConfig = Helper.AttributeValue(node, "activeConfig", m_ActiveConfig);
236 m_Path = Helper.AttributeValue(node, "path", m_Path); 250 m_Path = Helper.AttributeValue(node, "path", m_Path);
237 251