Use mono to invoke Build.UpdateVersion.exe on non-Windows systems.

This commit is contained in:
the_fiddler 2010-10-06 15:07:12 +00:00
parent 1b3e59d6e7
commit 2b9391f6c6

View file

@ -40,6 +40,7 @@
<Delete Files="..\..\Version.txt" /> <Delete Files="..\..\Version.txt" />
</Target> </Target>
<Target Name="AfterBuild"> <Target Name="AfterBuild">
<Exec Command="$(OutputPath)\Build.UpdateVersion.exe" /> <Exec Command="$(OutputPath)\Build.UpdateVersion.exe" Condition="$(OS) == 'Windows_NT'" />
<Exec Command="mono $(OutputPath)\Build.UpdateVersion.exe" Condition="$(OS) != 'Windows_NT'" />
</Target> </Target>
</Project> </Project>