From 9ea0e881a45701782240013c8f17dfad7e5ab463 Mon Sep 17 00:00:00 2001
From: lbsa71
Date: Thu, 29 Mar 2007 17:29:52 +0000
Subject: * Naaw, -realphysx is too much to ask * Genning proj Guids from name
hash, for great justice
---
Prebuild/src/Core/Nodes/ProjectNode.cs | 6 +++++-
Prebuild/src/Core/Targets/VS2005Target.cs | 2 +-
2 files changed, 6 insertions(+), 2 deletions(-)
(limited to 'Prebuild/src/Core')
diff --git a/Prebuild/src/Core/Nodes/ProjectNode.cs b/Prebuild/src/Core/Nodes/ProjectNode.cs
index 7ac0a36..84d9f5d 100644
--- a/Prebuild/src/Core/Nodes/ProjectNode.cs
+++ b/Prebuild/src/Core/Nodes/ProjectNode.cs
@@ -424,7 +424,11 @@ namespace Prebuild.Core.Nodes
m_Runtime = (ClrRuntime)Helper.EnumAttributeValue(node, "runtime", typeof(ClrRuntime), m_Runtime);
m_StartupObject = Helper.AttributeValue(node, "startupObject", m_StartupObject);
m_RootNamespace = Helper.AttributeValue(node, "rootNamespace", m_RootNamespace);
- m_Guid = Guid.NewGuid();
+
+ int hash = m_Name.GetHashCode();
+
+ m_Guid = new Guid( hash, 0, 0, 0, 0, 0, 0,0,0,0,0 );
+
m_GenerateAssemblyInfoFile = Helper.ParseBoolean(node, "generateAssemblyInfoFile", false);
if(m_AssemblyName == null || m_AssemblyName.Length < 1)
diff --git a/Prebuild/src/Core/Targets/VS2005Target.cs b/Prebuild/src/Core/Targets/VS2005Target.cs
index 6435593..23b6116 100644
--- a/Prebuild/src/Core/Targets/VS2005Target.cs
+++ b/Prebuild/src/Core/Targets/VS2005Target.cs
@@ -665,7 +665,7 @@ namespace Prebuild.Core.Targets
if (projectFile.Contains( "OpenSim.csproj" ))
{
- ps.WriteLine(" -loginserver -sandbox -accounts -realphysx");
+ ps.WriteLine(" -loginserver -sandbox -accounts");
}
ps.WriteLine(" {0}", MakeRefPath(project));
--
cgit v1.1