Author: ankit
Date: 2006-12-15 08:13:51 -0500 (Fri, 15 Dec 2006)
New Revision: 69532
Modified:
trunk/monodevelop/Extras/CSharpBinding/CSharpBindingCompilerManager.cs
trunk/monodevelop/Extras/CSharpBinding/ChangeLog
trunk/monodevelop/Extras/VBNetBinding/ChangeLog
trunk/monodevelop/Extras/VBNetBinding/VBBindingCompilerServices.cs
Log:
In Extras/VBNetBinding:
* VBBindingCompilerServices.cs (Compile): Filename arg to resgen should
be quoted.
In Extras/CSharpBinding:
* CSharpBindingCompilerManager.cs (Compile): Filename arg to resgen
should be quoted.
Modified: trunk/monodevelop/Extras/CSharpBinding/CSharpBindingCompilerManager.cs
===================================================================
--- trunk/monodevelop/Extras/CSharpBinding/CSharpBindingCompilerManager.cs
2006-12-15 13:07:43 UTC (rev 69531)
+++ trunk/monodevelop/Extras/CSharpBinding/CSharpBindingCompilerManager.cs
2006-12-15 13:13:51 UTC (rev 69532)
@@ -151,7 +151,7 @@
if (String.Compare
(Path.GetExtension (fname), ".resx", true) == 0) {
using
(StringWriter sw = new StringWriter ()) {
ProcessWrapper pw = Runtime.ProcessService.StartProcess (
-
resgen, String.Format ("/compile {0}", fname), null,
+
resgen, String.Format ("/compile \"{0}\"", fname), null,
sw, sw, null);
pw.WaitForOutput ();
Modified: trunk/monodevelop/Extras/CSharpBinding/ChangeLog
===================================================================
--- trunk/monodevelop/Extras/CSharpBinding/ChangeLog 2006-12-15 13:07:43 UTC
(rev 69531)
+++ trunk/monodevelop/Extras/CSharpBinding/ChangeLog 2006-12-15 13:13:51 UTC
(rev 69532)
@@ -1,5 +1,10 @@
2006-12-15 Ankit Jain <[EMAIL PROTECTED]>
+ * CSharpBindingCompilerManager.cs (Compile): Filename arg to resgen
+ should be quoted.
+
+2006-12-15 Ankit Jain <[EMAIL PROTECTED]>
+
* CSharpBindingCompilerManager.cs (Compile): Use resgen to convert .resx
to embeddable resource format (.resources). Handle 'null' resourceId.
Modified: trunk/monodevelop/Extras/VBNetBinding/ChangeLog
===================================================================
--- trunk/monodevelop/Extras/VBNetBinding/ChangeLog 2006-12-15 13:07:43 UTC
(rev 69531)
+++ trunk/monodevelop/Extras/VBNetBinding/ChangeLog 2006-12-15 13:13:51 UTC
(rev 69532)
@@ -1,5 +1,10 @@
2006-12-15 Ankit Jain <[EMAIL PROTECTED]>
+ * VBBindingCompilerServices.cs (Compile): Filename arg to resgen should
+ be quoted.
+
+2006-12-15 Ankit Jain <[EMAIL PROTECTED]>
+
* VBBindingCompilerServices.cs (Compile): Use resgen to convert .resx
to embeddable resource format (.resources). Handle 'null' resourceId.
Modified: trunk/monodevelop/Extras/VBNetBinding/VBBindingCompilerServices.cs
===================================================================
--- trunk/monodevelop/Extras/VBNetBinding/VBBindingCompilerServices.cs
2006-12-15 13:07:43 UTC (rev 69531)
+++ trunk/monodevelop/Extras/VBNetBinding/VBBindingCompilerServices.cs
2006-12-15 13:13:51 UTC (rev 69532)
@@ -168,7 +168,7 @@
if (String.Compare
(Path.GetExtension (fname), ".resx", true) == 0) {
using
(StringWriter sw = new StringWriter ()) {
ProcessWrapper pw = Runtime.ProcessService.StartProcess (
-
resgen, String.Format ("/compile {0}", fname), null,
+
resgen, String.Format ("/compile \"{0}\" ", fname), null,
sw, sw, null);
pw.WaitForOutput ();
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches