Exec task and "error :" in outputHi,<br> <br> I just discovered a strange behavior of the exec task :<br> <br> &lt;Exec Command=&quot;echo error : &quot;/&gt;<br> <br> will fail with code -1<br> <br> and <br> <br> &lt;Exec Command=&quot;echo warning : &quot; /&gt;<br> <br> will print a warning.<br> <br> <br> Is it possible to disable this command output parsing ? I currently use ContinueOnError=&quot;True&quot; but that modify my build logs.<br> <br> <br> Regards,<br> Ant1 © 2009 Microsoft Corporation. All rights reserved.Fri, 26 Sep 2008 19:43:58 Z77eb8b02-8cd7-4d32-acad-3ab0dc308d78http://social.msdn.microsoft.com/Forums/en-US/msbuild/thread/77eb8b02-8cd7-4d32-acad-3ab0dc308d78#77eb8b02-8cd7-4d32-acad-3ab0dc308d78http://social.msdn.microsoft.com/Forums/en-US/msbuild/thread/77eb8b02-8cd7-4d32-acad-3ab0dc308d78#77eb8b02-8cd7-4d32-acad-3ab0dc308d78Ant1http://social.msdn.microsoft.com/Profile/en-US/?user=Ant1Exec task and "error :" in outputHi,<br> <br> I just discovered a strange behavior of the exec task :<br> <br> &lt;Exec Command=&quot;echo error : &quot;/&gt;<br> <br> will fail with code -1<br> <br> and <br> <br> &lt;Exec Command=&quot;echo warning : &quot; /&gt;<br> <br> will print a warning.<br> <br> <br> Is it possible to disable this command output parsing ? I currently use ContinueOnError=&quot;True&quot; but that modify my build logs.<br> <br> <br> Regards,<br> Ant1 Wed, 18 Jun 2008 14:03:57 Z2008-06-18T14:03:57Zhttp://social.msdn.microsoft.com/Forums/en-US/msbuild/thread/77eb8b02-8cd7-4d32-acad-3ab0dc308d78#e694fffc-bdb2-48ba-8c09-853a01ccde63http://social.msdn.microsoft.com/Forums/en-US/msbuild/thread/77eb8b02-8cd7-4d32-acad-3ab0dc308d78#e694fffc-bdb2-48ba-8c09-853a01ccde63Rong-Chun Zhanghttp://social.msdn.microsoft.com/Profile/en-US/?user=Rong-Chun%20ZhangExec task and "error :" in output  <p style="margin:0in 0in 10pt"><font face=Calibri>Hi Ant1,</font></p> <p style="margin:0in 0in 10pt"><font face=Calibri>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:</font></p> <p style="margin:0in 0in 10pt"><font face=Calibri>&lt;Exec Command=&quot;echo error:&quot; <b>IgnoreStandardErrorWarningFormat=&quot;true&quot;</b>/&gt;</font></p> <p style="margin:0in 0in 10pt"><font face=Calibri>Hope this helps.<br>Best regards.<br>Rong-Chun Zhang</font></p> <p style="margin:0in 0in 10pt"><a href="http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2501509&amp;SiteID=1"><font face=Calibri color="#800080">Windows Forms General FAQs</font></a><br><a href="http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2499441&amp;SiteID=1"><font face=Calibri color="#800080">Windows Forms Data Controls and Databinding FAQs</font></a></p><hr size="1" align="left" width="25%">Please mark the replies as answers if they help and unmark if they don't.Mon, 23 Jun 2008 09:25:23 Z2008-06-23T09:25:23Zhttp://social.msdn.microsoft.com/Forums/en-US/msbuild/thread/77eb8b02-8cd7-4d32-acad-3ab0dc308d78#f5114cc0-f518-495f-bb41-65b8ddd92786http://social.msdn.microsoft.com/Forums/en-US/msbuild/thread/77eb8b02-8cd7-4d32-acad-3ab0dc308d78#f5114cc0-f518-495f-bb41-65b8ddd92786Ant1http://social.msdn.microsoft.com/Profile/en-US/?user=Ant1Exec task and "error :" in outputOh, thanks a lot !<br><br>I am missing something in the msdn ? I don't see anything about it here : http://msdn.microsoft.com/en-us/library/x8zx72cd.aspx<br><br><br>Thanks again,<br><br>Ant1<br> Mon, 23 Jun 2008 11:55:48 Z2008-06-23T11:55:48Z