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

Petit Eric surfzoid at gmail.com
Sat Dec 6 15:58:33 EST 2008


2008/12/6 Gert Driesen <gert.driesen at telenet.be>:
> Hey,
>
> Try setting the MONO_IOMAP environment variable to "all".
>
> Gert
>
> -----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
> 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.
> --
try also to get the last svn version of mono, also you will have
better luke by using monodevelop, at last yu can edit ress file and
change \ by / in path
> View this message in context:
> http://www.nabble.com/resgen-choking-on-backslashes-in-paths-tp20872857p2087
> 2857.html
> Sent from the Mono - General mailing list archive at Nabble.com.
>
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
> 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
>
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>



-- 

Cordially.

Small Eric Quotations of the days:
---------------------------------------------------------------------------
If one day one reproaches you that your work is not a work of
professional, say you that:
Amateurs built the arch of Noah, and professionals the Titanic.
---------------------------------------------------------------------------

Few people are done for independence, it is the privilege of the powerful ones.
---------------------------------------------------------------------------

No key was wounded during the drafting of this message.


More information about the Mono-list mailing list