[Mono-list] re sgen choking on backslashes in paths

Gert Driesen gert.driesen at telenet.be
Sat Dec 6 13:55:52 EST 2008


Try setting the MONO_IOMAP environment variable to "all".


-----Original Message-----
From: mono-list-bounces at lists.ximian.com
[mailto:mono-list-bounces at lists.ximian.com] On Behalf Of kanato
Sent: zaterdag 6 december 2008 19:05
To: mono-list at lists.ximian.com
Subject: [Mono-list] re sgen choking on backslashes in paths

Hi, I am trying to get a WinForms app developed on Windows to compile on
on Linux.  But resgen is choking on the resx files that have lines like

<value>..\Resources\SortHS.png;System.Drawing.Bitmap, [etc.]</value>

Resgen gives an exception "Could not find file" for the file pointed to. 
The exception can be fixed by replacing the backslashes with a forward
slash.  The backslashes in the paths are generated by the visual studio
editor.  Is resgen supposed to handle backslashes as path separators?  It
would be convenient if it did because otherwise the resx files would have to
be edited by hand whenever there are updates done to it by a developer on
View this message in context:
Sent from the Mono - General mailing list archive at Nabble.com.

Mono-list maillist  -  Mono-list at lists.ximian.com

No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.175 / Virus Database: 270.9.14/1829 - Release Date: 12/4/2008
2:59 PM

More information about the Mono-list mailing list