Вот такая нода выполняется без проблем, но насколько я понял, это старый подход, еще со времен когда mono не поддерживал msbuild:
<CustomCommands>
<CustomCommands>
<Command>
<type>BeforeBuild</type>
<command>echo ‘Hello World’</command>
<workingdir>${ProjectDir}</workingdir>
</Command>
</CustomCommands>
</CustomCommands>