What is the difference between DependsOnTargets and AfterTargets? I can not distinguish these two.
DependsOnTargets
AfterTargets
More succinctly from this GitHub issue on Microsoft Docs:
means:
If something wants to run x, y must run first.
x
y
If something runs b, then run a after it.
b
a