diff options
author | lbsa71 | 2007-06-13 21:06:39 +0000 |
---|---|---|
committer | lbsa71 | 2007-06-13 21:06:39 +0000 |
commit | 1876c70ebdc2b620797318a56fb4c2ea03fbef17 (patch) | |
tree | d1cdee5f1ddb4751b6cb41b97bb847ba337ad4c0 /Prebuild/src/Core | |
parent | * First attempt at fixing differing build files on different .net flavours. (diff) | |
download | opensim-SC-1876c70ebdc2b620797318a56fb4c2ea03fbef17.zip opensim-SC-1876c70ebdc2b620797318a56fb4c2ea03fbef17.tar.gz opensim-SC-1876c70ebdc2b620797318a56fb4c2ea03fbef17.tar.bz2 opensim-SC-1876c70ebdc2b620797318a56fb4c2ea03fbef17.tar.xz |
* Changed some more sort order issues
* Updated vs2005 files as well
Diffstat (limited to 'Prebuild/src/Core')
-rw-r--r-- | Prebuild/src/Core/Nodes/ProjectNode.cs | 14 | ||||
-rw-r--r-- | Prebuild/src/Core/Nodes/SolutionNode.cs | 10 |
2 files changed, 19 insertions, 5 deletions
diff --git a/Prebuild/src/Core/Nodes/ProjectNode.cs b/Prebuild/src/Core/Nodes/ProjectNode.cs index 5f03c4d..c56dacc 100644 --- a/Prebuild/src/Core/Nodes/ProjectNode.cs +++ b/Prebuild/src/Core/Nodes/ProjectNode.cs | |||
@@ -81,7 +81,7 @@ namespace Prebuild.Core.Nodes | |||
81 | /// | 81 | /// |
82 | /// </summary> | 82 | /// </summary> |
83 | [DataNode("Project")] | 83 | [DataNode("Project")] |
84 | public class ProjectNode : DataNode | 84 | public class ProjectNode : DataNode, IComparable |
85 | { | 85 | { |
86 | #region Fields | 86 | #region Fields |
87 | 87 | ||
@@ -496,5 +496,15 @@ namespace Prebuild.Core.Nodes | |||
496 | 496 | ||
497 | 497 | ||
498 | #endregion | 498 | #endregion |
499 | } | 499 | |
500 | #region IComparable Members | ||
501 | |||
502 | public int CompareTo(object obj) | ||
503 | { | ||
504 | ProjectNode that = (ProjectNode)obj; | ||
505 | return this.m_Name.CompareTo(that.m_Name); | ||
506 | } | ||
507 | |||
508 | #endregion | ||
509 | } | ||
500 | } | 510 | } |
diff --git a/Prebuild/src/Core/Nodes/SolutionNode.cs b/Prebuild/src/Core/Nodes/SolutionNode.cs index 0121075..c777fa4 100644 --- a/Prebuild/src/Core/Nodes/SolutionNode.cs +++ b/Prebuild/src/Core/Nodes/SolutionNode.cs | |||
@@ -165,8 +165,10 @@ namespace Prebuild.Core.Nodes | |||
165 | { | 165 | { |
166 | get | 166 | get |
167 | { | 167 | { |
168 | return m_Configurations.Values; | 168 | ArrayList tmp = new ArrayList(ConfigurationsTable.Values); |
169 | } | 169 | tmp.Sort(); |
170 | return tmp; | ||
171 | } | ||
170 | } | 172 | } |
171 | 173 | ||
172 | /// <summary> | 174 | /// <summary> |
@@ -189,7 +191,9 @@ namespace Prebuild.Core.Nodes | |||
189 | { | 191 | { |
190 | get | 192 | get |
191 | { | 193 | { |
192 | return m_Projects.Values; | 194 | ArrayList tmp = new ArrayList(m_Projects.Values); |
195 | tmp.Sort(); | ||
196 | return tmp; | ||
193 | } | 197 | } |
194 | } | 198 | } |
195 | 199 | ||