Hello,
I have a question regarding the Error Condition. In case I have a target and this target depends on some other 2 targets how can I insure that the condition will be verified before the other tartgets will run?
(For example :
<Target Name="Publish" DependsOnTargets="Compile">
<Error Condition="'$(Revision)' == ''" Text="Revision environment variable must be specified in order to build target: Publish"></Error>
</Target>
How can I insure that Error Condition will run before running the Compile target?
Thanks!