How do I envoke a MSBuild target in the middle of another target? -
what i'm looking like: <target name="dostuff" > <message text="doing stuff..." /> //run target dootherthing <message text="doing more stuff..." /> </target> there's calltarget you'd use like <target name="dostuff" > <message text="doing stuff..." /> <calltarget targets="dootherthing" /> <message text="doing more stuff..." /> </target> and there's more idiomatic, albeit bit on top case, way: <itemgroup> <mytargets include="message1" /> <mytargets include="dootherthing" /> <mytargets include="message2" /> </itemgroup> <target name="message1" /> <message text="doing stuff..." /> </target> <target name="dootherthing" /> <calltarget targets="dootherthing" /> </target> ...