[Monodevelop-patches-list] r1619 - trunk/MonoDevelop/src/AddIns/BackendBindings/CSharpBinding

commit-watcher at mono-cvs.ximian.com commit-watcher at mono-cvs.ximian.com
Sat May 22 00:51:56 EDT 2004


Author: tberman
Date: 2004-05-22 00:51:56 -0400 (Sat, 22 May 2004)
New Revision: 1619

Modified:
   trunk/MonoDevelop/src/AddIns/BackendBindings/CSharpBinding/CSharpBindingCompilerManager.cs
   trunk/MonoDevelop/src/AddIns/BackendBindings/CSharpBinding/ChangeLog
Log:
escape some pieces


Modified: trunk/MonoDevelop/src/AddIns/BackendBindings/CSharpBinding/CSharpBindingCompilerManager.cs
===================================================================
--- trunk/MonoDevelop/src/AddIns/BackendBindings/CSharpBinding/CSharpBindingCompilerManager.cs	2004-05-21 07:44:41 UTC (rev 1618)
+++ trunk/MonoDevelop/src/AddIns/BackendBindings/CSharpBinding/CSharpBindingCompilerManager.cs	2004-05-22 04:51:56 UTC (rev 1619)
@@ -284,7 +284,7 @@
 			CSharpProject p = (CSharpProject)project;
 			CSharpCompilerParameters compilerparameters = (CSharpCompilerParameters)p.ActiveConfiguration;
 			
-			string outputName = compilerparameters.OutputAssembly + (compilerparameters.CompileTarget == CompileTarget.Library ? ".dll" : ".exe");
+			string outputName = "\"" + compilerparameters.OutputAssembly + (compilerparameters.CompileTarget == CompileTarget.Library ? ".dll" : ".exe") + "\"";
 
 			string target = "";
 
@@ -420,7 +420,7 @@
 			if (assembly_references.Count > 0) {
 				stream.WriteLine ("ASSEMBLY_REFERENCES = \\");
 				for (int i = 0; i < assembly_references.Count; i++) {
-					stream.Write (assembly_references[i]);
+					stream.Write ("\"" + assembly_references[i] + "\"");
 					if (i != assembly_references.Count - 1)
 						stream.WriteLine (" \\");
 					else
@@ -435,7 +435,7 @@
 			if (project_references.Count > 0) {
 				stream.WriteLine ("PROJECT_REFERENCES = \\");
 				for (int i = 0; i < project_references.Count; i++) {
-					stream.Write (project_references[i]);
+					stream.Write ("\"" + project_references[i] + "\"");
 					if (i != project_references.Count - 1)
 						stream.WriteLine (" \\");
 					else

Modified: trunk/MonoDevelop/src/AddIns/BackendBindings/CSharpBinding/ChangeLog
===================================================================
--- trunk/MonoDevelop/src/AddIns/BackendBindings/CSharpBinding/ChangeLog	2004-05-21 07:44:41 UTC (rev 1618)
+++ trunk/MonoDevelop/src/AddIns/BackendBindings/CSharpBinding/ChangeLog	2004-05-22 04:51:56 UTC (rev 1619)
@@ -1,3 +1,8 @@
+2004-05-22  Todd Berman  <tberman at sevenl.net>
+
+	* CSharpBindingCompilerManager.cs: add "s to work around potential
+	spaces... spaces... urgh. closes bug #58840
+
 2004-05-18  Todd Berman  <tberman at sevenl.net>
 
 	* CSharpBindingCompilerManager.cs: add a warning to the top of the




More information about the Monodevelop-patches-list mailing list