What is the difference between 'DependsOnTargets' and 'AfterTargets'?

前端 未结 6 1063
孤街浪徒
孤街浪徒 2020-12-24 04:38

What is the difference between DependsOnTargets and AfterTargets? I can not distinguish these two.

6条回答
  •  生来不讨喜
    2020-12-24 05:15

    More succinctly from this GitHub issue on Microsoft Docs:

    means:

    If something wants to run x, y must run first.

    means:

    If something runs b, then run a after it.

提交回复
热议问题