DEPRECATED: Use Target's BeforeTargets and AfterTargets attributes instead.

Topics: General Questions
Nov 14, 2014 at 9:18 PM
Really? What are we supposed to do, concretely? Having a direct dependency on a BTDF target... and what about the evolution of BTDF and its targets? I found that all these Custom*Targets were really handy...

Can someone provide a little more guidance on the subject?

Thank you
Nov 17, 2014 at 5:34 AM
MSBuild's BeforeTargets and AfterTargets attributes give the user ultimate control, allowing insertion of a custom target literally anywhere in the process. You're right that doing so creates a dependency on a potentially internal and changing Deployment Framework target. However, I can only build in so many override points. The existing override targets will be there for the foreseeable future.