tags:

views:

91

answers:

1

Is there a way to get the Name of the currently running Target in MSBuild?

A: 

There are workarounds where a property is set at the top of the target.

But is there anything better?

PenFold
How do you run MSBuild? commandline or by a service?
KMoraz
command line but will be a CI server.
PenFold