<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>MSBuild / Visual Studio aware error messages and message formats</title><link>http://blogs.msdn.com/msbuild/archive/2006/11/03/msbuild-visual-studio-aware-error-messages-and-message-formats.aspx</link><description>MSBuild recognizes error messages and warnings that have been specially formatted by many command line tools that typically write to the console. For instance, take a look at the following error messages - they are all properly formatted to be MSBuild</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: MSBuild / Visual Studio aware error messages and message formats</title><link>http://blogs.msdn.com/msbuild/archive/2006/11/03/msbuild-visual-studio-aware-error-messages-and-message-formats.aspx#1019050</link><pubDate>Tue, 07 Nov 2006 20:39:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1019050</guid><dc:creator>Keith Hill</dc:creator><description>&lt;p&gt;This is really cool. &amp;nbsp;One minor problem is that I get two errors in the VS task list. &amp;nbsp;One for the error picked up by parsing the output (awesome - thanks) and the other because the tool returned an error code. &amp;nbsp;I'm invoking the tool using the error task. &amp;nbsp;If I set IgnoreExitCode to false, the second error caused the by exit code doesn't show up but then again MSBUILD thinks the target succeeded when it really failed. &amp;nbsp;Is there a way that I can have my cake and eat it too?&lt;/p&gt;
</description></item><item><title>re: MSBuild / Visual Studio aware error messages and message formats</title><link>http://blogs.msdn.com/msbuild/archive/2006/11/03/msbuild-visual-studio-aware-error-messages-and-message-formats.aspx#1019056</link><pubDate>Tue, 07 Nov 2006 20:41:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1019056</guid><dc:creator>Keith Hill</dc:creator><description>&lt;p&gt;Doh that should read that I'm invoking the command line exe using the &amp;quot;Exec&amp;quot; task.&lt;/p&gt;
</description></item><item><title>re: MSBuild / Visual Studio aware error messages and message formats</title><link>http://blogs.msdn.com/msbuild/archive/2006/11/03/msbuild-visual-studio-aware-error-messages-and-message-formats.aspx#1410316</link><pubDate>Thu, 04 Jan 2007 12:24:16 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1410316</guid><dc:creator>Britney</dc:creator><description>&lt;p&gt;Hello, nice site look this:&lt;/p&gt;
&lt;p&gt;&amp;lt;a href=&amp;quot;&lt;a rel="nofollow" target="_new" href="http://urlzip.de/5m9&amp;quot;&amp;gt;chanel"&gt;http://urlzip.de/5m9&amp;quot;&amp;gt;chanel&lt;/a&gt; handbags&amp;lt;/a&amp;gt;&lt;/p&gt;
&lt;p&gt;End ^) See you&lt;/p&gt;
</description></item><item><title>re: MSBuild / Visual Studio aware error messages and message formats</title><link>http://blogs.msdn.com/msbuild/archive/2006/11/03/msbuild-visual-studio-aware-error-messages-and-message-formats.aspx#1863710</link><pubDate>Mon, 12 Mar 2007 13:32:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1863710</guid><dc:creator>...</dc:creator><description>&lt;p&gt;mmm.. nice design, I must say..&lt;/p&gt;
</description></item><item><title>re: MSBuild / Visual Studio aware error messages and message formats</title><link>http://blogs.msdn.com/msbuild/archive/2006/11/03/msbuild-visual-studio-aware-error-messages-and-message-formats.aspx#1884019</link><pubDate>Thu, 15 Mar 2007 04:36:59 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1884019</guid><dc:creator>...</dc:creator><description>&lt;p&gt;Du musst ein Fachmann sein - wirklich guter Aufstellungsort, den du hast!&lt;/p&gt;
</description></item><item><title>re: MSBuild / Visual Studio aware error messages and message formats</title><link>http://blogs.msdn.com/msbuild/archive/2006/11/03/msbuild-visual-studio-aware-error-messages-and-message-formats.aspx#1907598</link><pubDate>Sun, 18 Mar 2007 18:10:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1907598</guid><dc:creator>...</dc:creator><description>&lt;p&gt;luogo grande:) nessun osservazioni!&lt;/p&gt;
</description></item><item><title>re: MSBuild / Visual Studio aware error messages and message formats</title><link>http://blogs.msdn.com/msbuild/archive/2006/11/03/msbuild-visual-studio-aware-error-messages-and-message-formats.aspx#1917419</link><pubDate>Tue, 20 Mar 2007 09:06:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1917419</guid><dc:creator>...</dc:creator><description>&lt;p&gt;Chi ha fatto questo? E un buon posto per trovare le informazioni importanti!:)&lt;/p&gt;
</description></item><item><title>re: MSBuild / Visual Studio aware error messages and message formats</title><link>http://blogs.msdn.com/msbuild/archive/2006/11/03/msbuild-visual-studio-aware-error-messages-and-message-formats.aspx#2811847</link><pubDate>Wed, 23 May 2007 11:30:52 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2811847</guid><dc:creator>hdhucs</dc:creator><description>&lt;p&gt;Hi. Cool design. Keep up the good.&lt;/p&gt;
&lt;p&gt;Good luck.&lt;/p&gt;
</description></item><item><title>re: MSBuild / Visual Studio aware error messages and message formats</title><link>http://blogs.msdn.com/msbuild/archive/2006/11/03/msbuild-visual-studio-aware-error-messages-and-message-formats.aspx#2811850</link><pubDate>Wed, 23 May 2007 11:30:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2811850</guid><dc:creator>hdhucs</dc:creator><description>&lt;p&gt;Hi. Cool design. Keep up the good.&lt;/p&gt;
&lt;p&gt;Good luck.&lt;/p&gt;
</description></item><item><title>re: MSBuild / Visual Studio aware error messages and message formats</title><link>http://blogs.msdn.com/msbuild/archive/2006/11/03/msbuild-visual-studio-aware-error-messages-and-message-formats.aspx#3253274</link><pubDate>Tue, 12 Jun 2007 20:23:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3253274</guid><dc:creator>Bill</dc:creator><description>&lt;p&gt;MSN I NIIPET&lt;/p&gt;
&lt;p&gt;&amp;lt;a href=&amp;quot;&lt;a rel="nofollow" target="_new" href="http://msn.com&amp;quot;&amp;gt;MSN&amp;lt;/a&amp;gt;"&gt;http://msn.com&amp;quot;&amp;gt;MSN&amp;lt;/a&amp;gt;&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: MSBuild / Visual Studio aware error messages and message formats</title><link>http://blogs.msdn.com/msbuild/archive/2006/11/03/msbuild-visual-studio-aware-error-messages-and-message-formats.aspx#3659193</link><pubDate>Mon, 02 Jul 2007 15:45:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3659193</guid><dc:creator>Matt</dc:creator><description>&lt;p&gt;Is-it possible to change to language of the errors messages text ?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
</description></item><item><title>re: MSBuild / Visual Studio aware error messages and message formats</title><link>http://blogs.msdn.com/msbuild/archive/2006/11/03/msbuild-visual-studio-aware-error-messages-and-message-formats.aspx#4544068</link><pubDate>Fri, 24 Aug 2007 18:34:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4544068</guid><dc:creator>turha</dc:creator><description>&lt;p&gt;Here is the GNU specification for formatting error messages so that line and column numbers can be automatically recognized:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://www.gnu.org/prep/standards/standards.html#Errors"&gt;http://www.gnu.org/prep/standards/standards.html#Errors&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It says tab stops should be assumed every 8 columns. &amp;nbsp;Your blog post did not go into such detail. &amp;nbsp;How should column numbers logged via MSBuild count tabs and CJK fullwidth characters?&lt;/p&gt;
</description></item><item><title>re: MSBuild / Visual Studio aware error messages and message formats</title><link>http://blogs.msdn.com/msbuild/archive/2006/11/03/msbuild-visual-studio-aware-error-messages-and-message-formats.aspx#4997581</link><pubDate>Wed, 19 Sep 2007 17:45:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4997581</guid><dc:creator>Mike</dc:creator><description>&lt;p&gt;This is really nice for Errors and Warnings, but how do you get VS to log a simple informational message. &amp;nbsp;Category only contains error and warning and by experimentation I see that VS ignores attempts at &amp;quot;message&amp;quot;, &amp;quot;informational&amp;quot;, etc... &amp;nbsp;Is there a magic incantation?&lt;/p&gt;
</description></item><item><title>re: MSBuild / Visual Studio aware error messages and message formats</title><link>http://blogs.msdn.com/msbuild/archive/2006/11/03/msbuild-visual-studio-aware-error-messages-and-message-formats.aspx#6959415</link><pubDate>Thu, 03 Jan 2008 00:16:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6959415</guid><dc:creator>Chris Kline</dc:creator><description>&lt;p&gt;It's worth noting that &amp;quot;warning&amp;quot; and &amp;quot;error&amp;quot; MUST be lower case in order to be recognized. I.e., &amp;quot;Warning&amp;quot; will not be recognized. &lt;/p&gt;
</description></item><item><title>Good site</title><link>http://blogs.msdn.com/msbuild/archive/2006/11/03/msbuild-visual-studio-aware-error-messages-and-message-formats.aspx#7072658</link><pubDate>Fri, 11 Jan 2008 15:13:26 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7072658</guid><dc:creator>fabiola-wy</dc:creator><description>&lt;p&gt;&amp;lt;a href= &lt;a rel="nofollow" target="_new" href="http://puhlov.com"&gt;http://puhlov.com&lt;/a&gt; &amp;gt;mixolgy measurments&amp;lt;/a&amp;gt; &lt;/p&gt;
</description></item><item><title>re: MSBuild / Visual Studio aware error messages and message formats</title><link>http://blogs.msdn.com/msbuild/archive/2006/11/03/msbuild-visual-studio-aware-error-messages-and-message-formats.aspx#7396430</link><pubDate>Sat, 02 Feb 2008 21:09:47 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7396430</guid><dc:creator>Greg Popovitch</dc:creator><description>&lt;p&gt;I have a problem. When compiling c++ with cl the file names in error messages are lowercased. This is not the case when building from inside Visual Studio 2005. How can I prevent this case change when using cl?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;greg&lt;/p&gt;
</description></item><item><title>re: MSBuild / Visual Studio aware error messages and message formats</title><link>http://blogs.msdn.com/msbuild/archive/2006/11/03/msbuild-visual-studio-aware-error-messages-and-message-formats.aspx#9256305</link><pubDate>Tue, 30 Dec 2008 01:56:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9256305</guid><dc:creator>baztheman</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I posted in msdn with a msbuild error code return question but have not been answered hence I am giving this another try...&lt;/p&gt;
&lt;p&gt;I am using msbuild from framework version 2.0.50727.1433. I need to be able to capture msbuild error correctly on command line or via batch files. When I type &amp;quot;msbuild sdsd&amp;quot;, it does not return non zero. Why?&lt;/p&gt;
&lt;p&gt;Here is my msdn forum post if you want more details: &lt;a rel="nofollow" target="_new" href="http://social.msdn.microsoft.com/Forums/en-US/msbuild/thread/82615310-3ac2-4265-87fb-c3d7a4e652fe/"&gt;http://social.msdn.microsoft.com/Forums/en-US/msbuild/thread/82615310-3ac2-4265-87fb-c3d7a4e652fe/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;
&lt;p&gt;B.&lt;/p&gt;
</description></item><item><title>re: MSBuild / Visual Studio aware error messages and message formats</title><link>http://blogs.msdn.com/msbuild/archive/2006/11/03/msbuild-visual-studio-aware-error-messages-and-message-formats.aspx#9426539</link><pubDate>Tue, 17 Feb 2009 00:48:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9426539</guid><dc:creator>Hoop Somuah</dc:creator><description>&lt;p&gt;&amp;quot; (line) or (line-line) or (line-col) or (line,col-col) or (line,col,line,col)&amp;quot;&lt;/p&gt;
&lt;p&gt;(line-col) should read (line,col) &lt;/p&gt;
</description></item><item><title>re: MSBuild / Visual Studio aware error messages and message formats</title><link>http://blogs.msdn.com/msbuild/archive/2006/11/03/msbuild-visual-studio-aware-error-messages-and-message-formats.aspx#9426546</link><pubDate>Tue, 17 Feb 2009 00:52:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9426546</guid><dc:creator>Hoop Somuah</dc:creator><description>&lt;p&gt;also, shouldn't &amp;quot;(line,col,line,col)&amp;quot; be &amp;quot;(line,col-line,col)&amp;quot; for consistency?&lt;/p&gt;
&lt;p&gt;where comma separated values in a cordinate (point) and hyphen separates the values in a span&lt;/p&gt;
</description></item><item><title>re: MSBuild / Visual Studio aware error messages and message formats</title><link>http://blogs.msdn.com/msbuild/archive/2006/11/03/msbuild-visual-studio-aware-error-messages-and-message-formats.aspx#9514736</link><pubDate>Fri, 27 Mar 2009 21:37:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9514736</guid><dc:creator>Joe Chavez</dc:creator><description>&lt;p&gt;With regard to:&lt;/p&gt;
&lt;p&gt;Messages &lt;/p&gt;
&lt;p&gt;Indicates the number of Messages in the list. Click to toggle whether Messages are displayed. &lt;/p&gt;
&lt;p&gt;What is the syntax to add &amp;quot;message&amp;quot; to the &amp;quot;Messages&amp;quot; list in the build output.&lt;/p&gt;
&lt;p&gt;So far I have:&lt;/p&gt;
&lt;p&gt;printf(&amp;quot;UnitTest++: info UT100: %d tests passed.\n&amp;quot;, totalTestCount);&lt;/p&gt;
&lt;p&gt;printf(&amp;quot;UnitTest++: message UT100: %d tests passed.\n&amp;quot;, totalTestCount);&lt;/p&gt;
&lt;p&gt;printf(&amp;quot;UnitTest++: warning UT100: %d tests passed.\n&amp;quot;, totalTestCount);&lt;/p&gt;
&lt;p&gt;printf(&amp;quot;UnitTest++: error UT100: %d tests passed.\n&amp;quot;, totalTestCount);&lt;/p&gt;
&lt;p&gt;The first 2 &amp;quot;info&amp;quot; and &amp;quot;message&amp;quot; do not show up in the &amp;quot;Messages&amp;quot; list. The &amp;quot;warning&amp;quot; and &amp;quot;error&amp;quot; work as expected.&lt;/p&gt;
</description></item></channel></rss>