I use code like this:
<UsingTask TaskName="MSBuildTasks.Tasks.XmlReader" AssemblyFile="Tasks/MSBuildTasks.dll"/>
<Target Name="test2" DependsOnTargets="test1;"> //I tried with and without semicolon
My output works fine. But if I delete "Start" target. Output shows the message only form first target.
If it is not supposed to work in that way what for the DependsOnTargets attribute?
What is "True" way to execute multiple targets?
MsBuild 4.0, VS 2010 CMD.
How do you call the script, i.e. the
I'm guessing since you don't specify
InitialTargets MSBuild by default executes the first target available and since it's no longer
DependsOnTargets is no longer relevant.