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 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Prebuild/src/Core/Nodes/ProjectNode.cs') 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) -- cgit v1.1