[Mono-list] xbuild: Including backslashes that shouldn't get converted to forward slashes

Matt Zinkevicius matt.zinkevicius at hp.com
Mon Jun 15 17:34:47 UTC 2015


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
separation character, but in this specific case I need it passed without
conversion. I have tried escaping (\\) and encoding (\) but neither worked. 

How can this be achieved? 

Thanks, 
Matt



--
View this message in context: http://mono.1490590.n4.nabble.com/xbuild-Including-backslashes-that-shouldn-t-get-converted-to-forward-slashes-tp4666197.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list