Попробуйте этот скрипт сборки NAnt:
<?xml version="1.0" encoding="utf-8" ?>
<!-- ====================================================================== -->
<!-- test case sensitiveness -->
<!-- ====================================================================== -->
<project name="test.casesensitiveness" default="test">
<target name="test">
<property name="foo" value="bar" />
<echo message="Does property 'foo' exist? ${property::exists('foo')}" />
<echo message="Does property 'Foo' exist? ${property::exists('Foo')}" />
</target>
</project>
Вот вывод:
test:
[echo] Does property 'foo' exist? True
[echo] Does property 'Foo' exist? False
Итак, идентификаторы yes в NAnt чувствительны к регистру.