Can I call a custom user-defined function inside a Condition?


Someday you'll be able to do this, but not in Whidbey. But as part of the build process, you can call a custom task within a target, have the task emit a property, and then later on use that property in the condition. This effectively gives you the same power as being able to have user-defined functions in the "Condition", but it's more verbose.
Microsoft Communities