Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有两个不同的任务,分别是 A 和 B。如果 A 失败,我需要调用 B。NAnt 怎么可能。
我找到了一种方法,(对于遇到相同问题的任何人)
<trycatch> <try> <call target="A" /> </try> <catch> <call target="B" /> </catch> </trycatch>