Author: ankit
Date: 2007-01-10 15:24:11 -0500 (Wed, 10 Jan 2007)
New Revision: 70811
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/CSharpBinding:
* CSharpBindingCompilerManager.cs (Compile): .resx file has paths
relative to the .resx file itself.
In Extras/VBNetBinding:
* VBBindingCompilerServices.cs (Compile): .resx file has paths
relative to the .resx file itself.
Modified: trunk/monodevelop/Extras/CSharpBinding/CSharpBindingCompilerManager.cs
===================================================================
--- trunk/monodevelop/Extras/CSharpBinding/CSharpBindingCompilerManager.cs
2007-01-10 20:18:32 UTC (rev 70810)
+++ trunk/monodevelop/Extras/CSharpBinding/CSharpBindingCompilerManager.cs
2007-01-10 20:24:11 UTC (rev 70811)
@@ -149,7 +149,8 @@
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),
+
Path.GetDirectoryName (fname),
sw, sw, null);
pw.WaitForOutput ();
Modified: trunk/monodevelop/Extras/CSharpBinding/ChangeLog
===================================================================
--- trunk/monodevelop/Extras/CSharpBinding/ChangeLog 2007-01-10 20:18:32 UTC
(rev 70810)
+++ trunk/monodevelop/Extras/CSharpBinding/ChangeLog 2007-01-10 20:24:11 UTC
(rev 70811)
@@ -1,3 +1,8 @@
+2007-01-11 Ankit Jain <[EMAIL PROTECTED]>
+
+ * CSharpBindingCompilerManager.cs (Compile): .resx file has paths
+ relative to the .resx file itself.
+
2006-12-21 Ankit Jain <[EMAIL PROTECTED]>
* CSharpBindingCompilerManager.cs (Compile): Use project's base
Modified: trunk/monodevelop/Extras/VBNetBinding/ChangeLog
===================================================================
--- trunk/monodevelop/Extras/VBNetBinding/ChangeLog 2007-01-10 20:18:32 UTC
(rev 70810)
+++ trunk/monodevelop/Extras/VBNetBinding/ChangeLog 2007-01-10 20:24:11 UTC
(rev 70811)
@@ -1,3 +1,8 @@
+2007-01-11 Ankit Jain <[EMAIL PROTECTED]>
+
+ * VBBindingCompilerServices.cs (Compile): .resx file has paths
+ relative to the .resx file itself.
+
2006-12-21 Ankit Jain <[EMAIL PROTECTED]>
* VBBindingCompilerServices.cs (Compile): Use project's base
Modified: trunk/monodevelop/Extras/VBNetBinding/VBBindingCompilerServices.cs
===================================================================
--- trunk/monodevelop/Extras/VBNetBinding/VBBindingCompilerServices.cs
2007-01-10 20:18:32 UTC (rev 70810)
+++ trunk/monodevelop/Extras/VBNetBinding/VBBindingCompilerServices.cs
2007-01-10 20:24:11 UTC (rev 70811)
@@ -165,7 +165,8 @@
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),
+
Path.GetDirectoryName (fname),
sw, sw, null);
pw.WaitForOutput ();
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches