[Mono-dev] [Patch] xbuild, ResXFileRef and relative windows paths
marek.sieradzki at gmail.com
Sun Mar 22 09:46:21 EDT 2009
On Sun, Mar 22, 2009 at 12:24 PM, Leszek Ciesielski <skolima at gmail.com> wrote:
> I agree with Gert, either xbuild has to restrict the path separator
> substitution to cases where a file before substitution can not be
> found and after substitution it is found, or, IMHO a better solution,
> xbuild wrapper script (i.e. the /usr/bin/xbuild itself) should set
> MONO_IOMAP before exec'ing mono instead of replicating such hacks
> across multiple Microsoft.Build.* classes. Bear in mind that custom
> (user-provided) tasks will most likely exhibit this problem as well.
> On Sun, Mar 22, 2009 at 8:48 AM, Gert Driesen <gert.driesen at telenet.be> wrote:
>> I'm ok with the change, but why not just use MONO_IOMAP?
>> Will you only replace the Windows directory separator if the file could not
>> be found?
>> We should continue to support backslashes in unix paths.
>> When we start adding such compatibility hacks in multiple class libraries /
>> tools, then it may be a good time to reconsider implementing it in the
Microsoft.Build.* classes might be used from applications like
MonoDevelop, not just xbuild.exe.
More information about the Mono-devel-list