Sadly, after looking at the Mono codebase more, It looks that there is no way
to support passing backslashes through without conversion. I'm surprised as
it's not that uncommon of a need.
I've opened a defect:
https://bugzilla.xamarin.com/show_bug.cgi?id=31174
Related defect:
I have an msbuild/xbuild file which uses the Exec task to invoke a command
line tool. The tool takes a regular expression as a parameter, which in my
case contains a backslash (\) character. It seems that xbuild converts all
backslashes into forward slashes, as they usually represent a directory
On 15/06/15 19:34, Matt Zinkevicius wrote:
I have an msbuild/xbuild file which uses the Exec task to invoke a command
line tool. The tool takes a regular expression as a parameter, which in my
case contains a backslash (\) character. It seems that xbuild converts all
backslashes into forward
On 15/06/15 20:42, Andres G. Aragoneses wrote:
On 15/06/15 19:34, Matt Zinkevicius wrote:
I have an msbuild/xbuild file which uses the Exec task to invoke a
command
line tool. The tool takes a regular expression as a parameter, which
in my
case contains a backslash (\) character. It seems that
You definitely want xbuild to convert them as paths in the majority of cases,
but you need a way to override that behavior for exceptional circumstances.
This done in most languages through escaping of some sort, I'm just not sure
how to express that here.
--Z
From: knocte [via Mono]