<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: NDepend Task for NAnt&#8230;</title>
	<atom:link href="http://blog.davidohara.net/2005/10/28/ndepend-task-for-nant/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.davidohara.net/2005/10/28/ndepend-task-for-nant/</link>
	<description></description>
	<lastBuildDate>Thu, 02 Sep 2010 06:54:35 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Alan Bahm</title>
		<link>http://blog.davidohara.net/2005/10/28/ndepend-task-for-nant/#comment-97</link>
		<dc:creator>Alan Bahm</dc:creator>
		<pubDate>Wed, 29 Mar 2006 20:35:14 +0000</pubDate>
		<guid isPermaLink="false">http://davidohara.wordpress.com/2005/10/28/ndepend-task-for-nant/#comment-97</guid>
		<description>David,

Thank you for publishing this task!  From your reply to Trevor&#039;s comment I take it that you have a later version of the code - can you post it?</description>
		<content:encoded><![CDATA[<p>David,</p>
<p>Thank you for publishing this task!  From your reply to Trevor&#8217;s comment I take it that you have a later version of the code &#8211; can you post it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David O'Hara</title>
		<link>http://blog.davidohara.net/2005/10/28/ndepend-task-for-nant/#comment-39</link>
		<dc:creator>David O'Hara</dc:creator>
		<pubDate>Wed, 18 Jan 2006 15:21:12 +0000</pubDate>
		<guid isPermaLink="false">http://davidohara.wordpress.com/2005/10/28/ndepend-task-for-nant/#comment-39</guid>
		<description>Trevor,

Thanks for reminding me - I had changed this in my code but had never updated the code in the post. I&#039;ve actually done a few things, including reformatting so that they might actually accept it in the NAntContrib project, so I guess I should put the new code up on the post.</description>
		<content:encoded><![CDATA[<p>Trevor,</p>
<p>Thanks for reminding me &#8211; I had changed this in my code but had never updated the code in the post. I&#8217;ve actually done a few things, including reformatting so that they might actually accept it in the NAntContrib project, so I guess I should put the new code up on the post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Trevor Brierly</title>
		<link>http://blog.davidohara.net/2005/10/28/ndepend-task-for-nant/#comment-38</link>
		<dc:creator>Trevor Brierly</dc:creator>
		<pubDate>Mon, 16 Jan 2006 21:33:53 +0000</pubDate>
		<guid isPermaLink="false">http://davidohara.wordpress.com/2005/10/28/ndepend-task-for-nant/#comment-38</guid>
		<description>Thanks for posting this, it was quite helpful.  I did run into a few bugs which threw me for a loop for a while, here is some fixed(?) code:
(this should be inserted into the BuildConfig method, where it builds the names of the assemblies to pass into NDepend, about line 339
============================
//BEGIN CODE
//                foreach( string file in m_Assemblies.Includes )
				foreach( string file in Assemblies.FileNames )
				{
					string assemblyName = file;
					int lastSlash = file.LastIndexOf(&quot;\\&quot;);
					if ( file.EndsWith( &quot;.dll&quot; ))
					{
						//assemblyName = file.Substring(0, file.LastIndexOf( &quot;.&quot; ));
						assemblyName = file.Substring( ( lastSlash + 1 ), ( file.LastIndexOf( &quot;.&quot; ) - lastSlash - 1 ) );
					}
					else
					{
						assemblyName = file.Substring( ( lastSlash + 1 ), ( file.Length - lastSlash ) );
					}
                    element = config.CreateElement( &quot;Name&quot; );
                    element.InnerText = assemblyName;
                    node.AppendChild( element );
                }
//END CODE HERE
============================
Insert this</description>
		<content:encoded><![CDATA[<p>Thanks for posting this, it was quite helpful.  I did run into a few bugs which threw me for a loop for a while, here is some fixed(?) code:<br />
(this should be inserted into the BuildConfig method, where it builds the names of the assemblies to pass into NDepend, about line 339<br />
============================<br />
//BEGIN CODE<br />
//                foreach( string file in m_Assemblies.Includes )<br />
				foreach( string file in Assemblies.FileNames )<br />
				{<br />
					string assemblyName = file;<br />
					int lastSlash = file.LastIndexOf(&#8220;\\&#8221;);<br />
					if ( file.EndsWith( &#8220;.dll&#8221; ))<br />
					{<br />
						//assemblyName = file.Substring(0, file.LastIndexOf( &#8220;.&#8221; ));<br />
						assemblyName = file.Substring( ( lastSlash + 1 ), ( file.LastIndexOf( &#8220;.&#8221; ) &#8211; lastSlash &#8211; 1 ) );<br />
					}<br />
					else<br />
					{<br />
						assemblyName = file.Substring( ( lastSlash + 1 ), ( file.Length &#8211; lastSlash ) );<br />
					}<br />
                    element = config.CreateElement( &#8220;Name&#8221; );<br />
                    element.InnerText = assemblyName;<br />
                    node.AppendChild( element );<br />
                }<br />
//END CODE HERE<br />
============================<br />
Insert this</p>
]]></content:encoded>
	</item>
</channel>
</rss>
