Hi Johan,
XmlPreprocess.exe is not my project, so I rely on Loren's (the author) documentation. I'm surprised that statement doesn't work. According to the docs, that expression is dynamically compiled as C# and executed. Have you tried surrounding the whole expression in parentheses after the #if? You're doing case-sensitive matches there, so that could be an issue too.
It appears that the dynamic compilation is implemented with this code (http://xmlpreprocess.codeplex.com/SourceControl/latest => 2.0/src/XmlPreprocess/Util/DynamicEvaluator.cs), but it's hard to interpret what it does simply by reading it.
That probably doesn't help much, but it's all I've got!
Thanks,
Tom
XmlPreprocess.exe is not my project, so I rely on Loren's (the author) documentation. I'm surprised that statement doesn't work. According to the docs, that expression is dynamically compiled as C# and executed. Have you tried surrounding the whole expression in parentheses after the #if? You're doing case-sensitive matches there, so that could be an issue too.
It appears that the dynamic compilation is implemented with this code (http://xmlpreprocess.codeplex.com/SourceControl/latest => 2.0/src/XmlPreprocess/Util/DynamicEvaluator.cs), but it's hard to interpret what it does simply by reading it.
That probably doesn't help much, but it's all I've got!
Thanks,
Tom