<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>A Ninja Kit &#187; xbuild</title>
	<atom:link href="http://ankitjain.org/blog/category/mono/xbuild/feed/" rel="self" type="application/rss+xml" />
	<link>http://ankitjain.org/blog</link>
	<description></description>
	<lastBuildDate>Mon, 16 Nov 2009 11:52:18 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>xbuild update</title>
		<link>http://ankitjain.org/blog/2009/10/12/xbuild-update/</link>
		<comments>http://ankitjain.org/blog/2009/10/12/xbuild-update/#comments</comments>
		<pubDate>Mon, 12 Oct 2009 08:41:54 +0000</pubDate>
		<dc:creator>ankitj</dc:creator>
				<category><![CDATA[Mono]]></category>
		<category><![CDATA[xbuild]]></category>

		<guid isPermaLink="false">http://ankitjain.org/blog/?p=141</guid>
		<description><![CDATA[<p>Small xbuild update:</p>
<p>Better error reporting. Earlier, xbuild didn&#8217;t correctly show the filename if the source for the error was not the main project file. Like, if the error was from Microsoft.Common.targets . Now, it should report this correctly. But real improvement is that the end of the build instead of showing a dump of errors and warnings like: </p>
<p><code><br />
Banshee.Collection/TrackInfo.cs(623,57): warning CS0078:  The 'l' suffix is easily confused with the digit '1' (use 'L' for clarity)<br />
:  warning : Found a conflict between : 'Mono.Data.Sqlite, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' and 'Mono.Data.Sqlite, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Using 'Mono.Data.Sqlite,<br />
Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' reference.<br />
</code></p>
<p>.. which doesn&#8217;t tell which projects those warnings belong to. For solutions with lot of projects, this becomes a major issue. So, xbuild now gives better info (like msbuild):</p>
<p><code><br />
/other/banshee/Banshee.sln (default targets) -><br />
(Build target) -><br />
/other/banshee/src/Core/Banshee.Core/Banshee.Core.csproj (default targets) -><br />
(CoreCompile target) -><br />
        Banshee.Collection/TrackInfo.cs(623,57): warning CS0078:  The 'l' suffix is easily confused with the digit '1' (use 'L' for clarity)<br />
        Banshee.Collection/TrackInfo.cs(623,57): warning CS0078:  The 'l' suffix is easily confused with the digit '1' (use 'L' for clarity)<br />
</code><br />
<code><br />
/other/banshee/Banshee.sln (default targets) -><br />
(Build target) -><br />
/other/banshee/src/Core/Banshee.Services/Banshee.Services.csproj (default targets) -><br />
(ResolveAssemblyReferences target) -><br />
        /home/radical/w1/misc/lib/mono/2.0/Microsoft.Common.targets:  warning : Found a conflict between : 'Mono.Data.Sqlite, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' and 'Mono.Data.Sqlite, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Using 'Mono.Data.Sqlite, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' reference.<br />
</code></p>
<p>The other update is that xbuild now emits errors/warnings in color! So, instead of :</p>
<p><img src="http://ankitjain.org/blog/wp-content/uploads/bw.png" alt="old xbuild output" title="old xbuild output" width="851" height="600" class="alignnone size-full wp-image-132" /></p>
<p>.. now you have this:</p>
<p><img src="http://ankitjain.org/blog/wp-content/uploads/color.png" alt="xbuild output in color" title="xbuild output in color" width="853" height="600" class="alignnone size-full wp-image-133" /></p>
<p>You can use the environment variable XBUILD_COLORS to change the default colors. You can use it as:</p>
<p><code>XBUILD_COLORS=errors=red,warnings=green,messages=brightblue,events=yellow</code></p>
<p>Or set to &#8220;disable&#8221; to disable colors. See man page for more details.</p>
<p>Thats all for now <img src='http://ankitjain.org/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
 <img src="http://ankitjain.org/blog/wp-content/plugins/feed-statistics.php?view=1&post_id=141" width="1" height="1" style="display: none;" /> ]]></description>
		<wfw:commentRss>http://ankitjain.org/blog/2009/10/12/xbuild-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>xbuild and MonoDevelop</title>
		<link>http://ankitjain.org/blog/2009/10/08/xbuild-and-monodevelop/</link>
		<comments>http://ankitjain.org/blog/2009/10/08/xbuild-and-monodevelop/#comments</comments>
		<pubDate>Thu, 08 Oct 2009 17:49:11 +0000</pubDate>
		<dc:creator>ankitj</dc:creator>
				<category><![CDATA[Mono]]></category>
		<category><![CDATA[xbuild]]></category>

		<guid isPermaLink="false">http://ankitjain.org/blog/?p=121</guid>
		<description><![CDATA[<p>xbuild (trunk) can now build MonoDevelop (trunk) !! <img src='http://ankitjain.org/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p><code>~/monodevelop> xbuild main/Main.sln</code></p>
<p>I&#8217;ve only tried the &#8220;Main.sln&#8221;, not the &#8220;extras&#8221;, as yet!</p>
<p>If you&#8217;re using or trying to use xbuild, then please fill this short <a href="http://ankitjain.org/blog/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3Rpbnl1cmwuY29tL3libXJueGM=">survey</a></p>
 <img src="http://ankitjain.org/blog/wp-content/plugins/feed-statistics.php?view=1&post_id=121" width="1" height="1" style="display: none;" />]]></description>
		<wfw:commentRss>http://ankitjain.org/blog/2009/10/08/xbuild-and-monodevelop/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>A small xbuild survey</title>
		<link>http://ankitjain.org/blog/2009/10/02/a-small-xbuild-survey/</link>
		<comments>http://ankitjain.org/blog/2009/10/02/a-small-xbuild-survey/#comments</comments>
		<pubDate>Fri, 02 Oct 2009 17:52:04 +0000</pubDate>
		<dc:creator>ankitj</dc:creator>
				<category><![CDATA[Mono]]></category>
		<category><![CDATA[xbuild]]></category>

		<guid isPermaLink="false">http://ankitjain.org/blog/?p=111</guid>
		<description><![CDATA[<p>This is a survey to get an idea of which all projects currently work with xbuild. And those that don&#8217;t, what might be blocking them.</p>
<p>This can help me prioritize xbuild features and bug fixes. Please take a few mins to fill the <a href="http://ankitjain.org/blog/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3Rpbnl1cmwuY29tL3libXJueGM=">survey</a>.</p>
<p><strong>Update</strong>: Fixed the survey link!<br />
<strong>Update2</strong>: Really fixed this time!</p>
 <img src="http://ankitjain.org/blog/wp-content/plugins/feed-statistics.php?view=1&post_id=111" width="1" height="1" style="display: none;" />]]></description>
		<wfw:commentRss>http://ankitjain.org/blog/2009/10/02/a-small-xbuild-survey/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>xbuild and Mono 2.6p1</title>
		<link>http://ankitjain.org/blog/2009/10/02/xbuild-and-mono-2-6p1/</link>
		<comments>http://ankitjain.org/blog/2009/10/02/xbuild-and-mono-2-6p1/#comments</comments>
		<pubDate>Thu, 01 Oct 2009 19:15:41 +0000</pubDate>
		<dc:creator>ankitj</dc:creator>
				<category><![CDATA[Mono]]></category>
		<category><![CDATA[xbuild]]></category>

		<guid isPermaLink="false">http://ankitjain.org/blog/?p=104</guid>
		<description><![CDATA[<p>The first preview of Mono 2.6 has been released <a href="http://ankitjain.org/blog/wp-content/plugins/feed-statistics.php?url=aHR0cDovL21vbm8ueGltaWFuLmNvbS9tb25vYnVpbGQvcHJldmlldy9kb3dubG9hZC1wcmV2aWV3Lw==">here</a>. This has a <strong>much</strong> improved version of xbuild.</p>
<p>Major new features since Mono 2.4:</p>
<ul>
<li>Solution file support</li>
<li>ASP.NET project support, both WebApplication and WebSite projects</li>
<li>It can now resolve references from pkg-config files (eg. gtk-sharp.pc)</li>
<li>Pre/PostBuildEvents are supported</li>
<li>Before/After* hooks and *DependsOn properties have been added for various targets like Build/Clean, to allow extending them</li>
</ul>
<p>You can see the full release notes for xbuild <a href="http://ankitjain.org/blog/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5tb25vLXByb2plY3QuY29tL1JlbGVhc2VfTm90ZXNfTW9ub18yLjYjWEJ1aWxk">here</a>.</p>
<p>So, effectively, you can use xbuild to build your VS2005/VS2008 solutions and projects. C# and VB.NET projects are supported out of the box. It supports the usual stuff like embedded resources, satellite assemblies, project references etc. Some opensource projects that work fine with xbuild : <a href="http://ankitjain.org/blog/wp-content/plugins/feed-statistics.php?url=aHR0cDovL2Fua2l0amFpbi5vcmcvYmxvZy8yMDA5LzA3LzI0L2lyb25ydWJ5LXdpdGgteGJ1aWxkLw==">IronRuby</a>, IronPython, OpenTK, etc.<br />
<em>Note</em>: Multi-targeting is not implemented yet, but it should be available in the next preview release.</p>
<p>There might some windowism&#8217;s that might hinder things, for which you should see <a href="http://ankitjain.org/blog/wp-content/plugins/feed-statistics.php?url=aHR0cDovL21vbm8tcHJvamVjdC5jb20vUG9ydGluZ19NU0J1aWxkX1Byb2plY3RzX1RvX1hCdWlsZA==">Porting MSBuild projects to xbuild</a>. Feedback is welcome on improving that page.</p>
<p>Custom tasks and targets should work with xbuild. Not every api that your custom task might be using would have been implemented, so file a <a href="http://ankitjain.org/blog/wp-content/plugins/feed-statistics.php?url=aHR0cDovL21vbm8tcHJvamVjdC5jb20vQnVncw==">bug</a> incase it is not.</p>
<p>So, this is an excellent time to try out your msbuild project with xbuild and help make it better <img src='http://ankitjain.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  File bugs <a href="http://ankitjain.org/blog/wp-content/plugins/feed-statistics.php?url=aHR0cDovL21vbm8tcHJvamVjdC5jb20vQnVncw==">here</a>. Any kind of feedback on xbuild, positive/negative, is very welcome!</p>
<p>The wiki page <a href="http://ankitjain.org/blog/wp-content/plugins/feed-statistics.php?url=aHR0cDovL21vbm8tcHJvamVjdC5jb20vTWljcm9zb2Z0LkJ1aWxk">Microsoft.Build</a> has been updated with the current xbuild status.</p>
<p><strong>Update: </strong>Short xbuild <a href="http://ankitjain.org/blog/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3Rpbnl1cmwuY29tL3libXJueGM=">survey</a>.</p>
 <img src="http://ankitjain.org/blog/wp-content/plugins/feed-statistics.php?view=1&post_id=104" width="1" height="1" style="display: none;" />]]></description>
		<wfw:commentRss>http://ankitjain.org/blog/2009/10/02/xbuild-and-mono-2-6p1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IronRuby with XBuild</title>
		<link>http://ankitjain.org/blog/2009/07/24/ironruby-with-xbuild/</link>
		<comments>http://ankitjain.org/blog/2009/07/24/ironruby-with-xbuild/#comments</comments>
		<pubDate>Thu, 23 Jul 2009 20:34:09 +0000</pubDate>
		<dc:creator>ankitj</dc:creator>
				<category><![CDATA[Mono]]></category>
		<category><![CDATA[xbuild]]></category>

		<guid isPermaLink="false">http://ankitjain.org/blog/?p=54</guid>
		<description><![CDATA[<p>I found a mailing list post saying that <a href="http://ankitjain.org/blog/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5pcm9ucnVieS5uZXQ=">IronRuby</a> doesn&#8217;t build with xbuild (mono&#8217;s implementation of msbuild). So, I decided to give it a shot with latest xbuild. I tried the git repo git://github.com/ironruby/ironruby.git with mono 2.4.2.1, and after a few minor filename casing changes, it builds <strong>successfully</strong> !</p>
<p>jredville confirmed that the built binaries pass their language test suite <img src='http://ankitjain.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>The <a href="http://ankitjain.org/blog/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3Bhc3RlYmluLmNhLzE1MDQ4MTg=">patch</a> is being reviewed by cj and jredville at #ironruby/freenode.</p>
<p>To try it yourself, apply the <a href="http://ankitjain.org/blog/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3Bhc3RlYmluLmNhLzE1MDQ4MTg=">patch</a>, and build as:<br />
 $ cd ironruby/Merlin/Main/Languages/Ruby<br />
 $ xbuild Ruby.sln /p:TreatWarningsAsErrors=false</p>
<p>The binaries are in &#8220;ironruby/Merlin/Main/Bin/Debug&#8221;.<br />
 $ mono ir.exe<br />
 <img src='http://ankitjain.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
 <img src="http://ankitjain.org/blog/wp-content/plugins/feed-statistics.php?view=1&post_id=54" width="1" height="1" style="display: none;" />]]></description>
		<wfw:commentRss>http://ankitjain.org/blog/2009/07/24/ironruby-with-xbuild/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
