Hi Ant1,
By default, MsBuild will format the warnings and errors which Visual Studio can then display. We can ignore this beahvior in 3.5 by setting the IgnoreStandardErrorWarningFormat parameter to True. Please try something like the following:
<Exec Command="echo error:" IgnoreStandardErrorWarningFormat="true"/>
Hope this helps.
Best regards.
Rong-Chun Zhang
Windows Forms General FAQs
Windows Forms Data Controls and Databinding FAQs
Please mark the replies as answers if they help and unmark if they don't.