Author: ankit
Date: 2006-12-07 16:16:46 -0500 (Thu, 07 Dec 2006)
New Revision: 69207
Modified:
trunk/monodevelop/Extras/prj2make-sharp-lib/ChangeLog
trunk/monodevelop/Extras/prj2make-sharp-lib/MSBuildFileFormat.cs
Log:
* MSBuildFileFormat.cs (WriteFileInternal): Trimming '{', '}' not
required for new guids.
Use MSBuildData.Guid for project references.
Modified: trunk/monodevelop/Extras/prj2make-sharp-lib/ChangeLog
===================================================================
--- trunk/monodevelop/Extras/prj2make-sharp-lib/ChangeLog 2006-12-07
21:16:42 UTC (rev 69206)
+++ trunk/monodevelop/Extras/prj2make-sharp-lib/ChangeLog 2006-12-07
21:16:46 UTC (rev 69207)
@@ -1,5 +1,11 @@
2006-12-08 Ankit Jain <[EMAIL PROTECTED]>
+ * MSBuildFileFormat.cs (WriteFileInternal): Trimming '{', '}' not
+ required for new guids.
+ Use MSBuildData.Guid for project references.
+
+2006-12-08 Ankit Jain <[EMAIL PROTECTED]>
+
* SlnFileFormat.cs: Move extra .sln specific info from
ExtendedProperties to SlnData and store that in the ExtendedProperties.
* MSBuildFileFormat.cs: Likewise, move to MSBuildData.
Modified: trunk/monodevelop/Extras/prj2make-sharp-lib/MSBuildFileFormat.cs
===================================================================
--- trunk/monodevelop/Extras/prj2make-sharp-lib/MSBuildFileFormat.cs
2006-12-07 21:16:42 UTC (rev 69206)
+++ trunk/monodevelop/Extras/prj2make-sharp-lib/MSBuildFileFormat.cs
2006-12-07 21:16:46 UTC (rev 69207)
@@ -147,8 +147,7 @@
doc.DocumentElement.AppendChild
(globalConfigElement);
data.GlobalConfigElement = globalConfigElement;
- string guid = Guid.NewGuid ().ToString
().ToUpper ();
- data.Guid = guid.Trim (new char [] {'{', '}'});
+ data.Guid = Guid.NewGuid ().ToString ().ToUpper
();
//FIXME: EnsureChildValue for AssemblyName <->
OutputAssembly
// Get this from where? different configs
could have different ones..
@@ -527,7 +526,7 @@
//FIXME: if (p.ExtendedProperties.Contains
("guid"))
if (d.Guid != null & d.Guid.Length != 0)
- EnsureChildValue (elem, "Project", ns,
String.Concat ("{", (string) p.ExtendedProperties ["guid"], "}"));
+ EnsureChildValue (elem, "Project", ns,
String.Concat ("{", d.Guid, "}"));
AppendChild (elem, "Name", ns, p.Name);
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches