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

kanato eylvisaker at physics.ucdavis.edu
Sat Dec 6 13:05:11 EST 2008


Hi, I am trying to get a WinForms app developed on Windows to compile on Mono
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
Windows.
-- 
View this message in context: http://www.nabble.com/resgen-choking-on-backslashes-in-paths-tp20872857p20872857.html
Sent from the Mono - General mailing list archive at Nabble.com.



More information about the Mono-list mailing list