From 3245166220ced5b6e892086caaa4cdc9e41c0d6f Mon Sep 17 00:00:00 2001
From: Sean Dague
Date: Sun, 16 Sep 2007 18:31:24 +0000
Subject: Some more work on passing enough info to nant to make reasonable
release targets
---
Prebuild/src/Core/Nodes/SolutionNode.cs | 14 ++++++++++++++
1 file changed, 14 insertions(+)
(limited to 'Prebuild/src/Core/Nodes')
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
#region Fields
private string m_Name = "unknown";
+ private string m_Version = "1.0.0";
private string m_Path = "";
private string m_FullPath = "";
private string m_ActiveConfig = "Debug";
@@ -110,6 +111,18 @@ namespace Prebuild.Core.Nodes
}
///
+ /// Gets the version.
+ ///
+ /// The version.
+ public string Version
+ {
+ get
+ {
+ return m_Version;
+ }
+ }
+
+ ///
/// Gets the path.
///
/// The path.
@@ -232,6 +245,7 @@ namespace Prebuild.Core.Nodes
public override void Parse(XmlNode node)
{
m_Name = Helper.AttributeValue(node, "name", m_Name);
+ m_Version = Helper.AttributeValue(node, "version", m_Version);
m_ActiveConfig = Helper.AttributeValue(node, "activeConfig", m_ActiveConfig);
m_Path = Helper.AttributeValue(node, "path", m_Path);
--
cgit v1.1