Is it possible to write a Condition in msbuild that checks if a certain process exists? Or, alternatively, does anyone know of such a task?
Today, my process creates a pid file, which existence I check. But I do not like all the extra maintenance involved with such a file.
Any ideas?
There is no such task in MSBuild Extension Pack or in MSBuild Community Tasks. But you could easily create a such one. Something like this:
And you use it like that: