<?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/"
		>
<channel>
	<title>Comments on: Show all assemblies loaded by your C# program</title>
	<atom:link href="http://www.dijksterhuis.org/show-assemblies-loaded-program/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dijksterhuis.org/show-assemblies-loaded-program/</link>
	<description>Information, news about programming in C#</description>
	<lastBuildDate>Sun, 21 Feb 2010 16:48:33 -0600</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Mark</title>
		<link>http://www.dijksterhuis.org/show-assemblies-loaded-program/comment-page-1/#comment-1345</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Tue, 15 Sep 2009 12:22:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.dijksterhuis.org/?p=721#comment-1345</guid>
		<description>Excellent, this was very useful. I used it to know what classes are implementing an interface in a plugin based application when the plugins are loaded by another assembly.</description>
		<content:encoded><![CDATA[<p>Excellent, this was very useful. I used it to know what classes are implementing an interface in a plugin based application when the plugins are loaded by another assembly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martijn</title>
		<link>http://www.dijksterhuis.org/show-assemblies-loaded-program/comment-page-1/#comment-344</link>
		<dc:creator>Martijn</dc:creator>
		<pubDate>Tue, 24 Feb 2009 13:10:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.dijksterhuis.org/?p=721#comment-344</guid>
		<description>Hi Gareth, 

Thanks for the comment -- I tried to keep things readable, but you are right of course. 

Cheers,
Martijn</description>
		<content:encoded><![CDATA[<p>Hi Gareth, </p>
<p>Thanks for the comment &#8212; I tried to keep things readable, but you are right of course. </p>
<p>Cheers,<br />
Martijn</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gareth</title>
		<link>http://www.dijksterhuis.org/show-assemblies-loaded-program/comment-page-1/#comment-343</link>
		<dc:creator>Gareth</dc:creator>
		<pubDate>Tue, 24 Feb 2009 11:56:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.dijksterhuis.org/?p=721#comment-343</guid>
		<description>Yep, this is well useful for debugging version conficts, especially with apps that have a lot of assemblies.

Assuming you didn&#039;t want to make further use of AppDomain and Assembly[], you could shorten this to:

foreach (Assembly MyAssembly in AppDomain.CurrentDomain.GetAssemblies())
{
    Console.WriteLine(&quot;Loaded: {0}&quot;, MyAssembly.FullName); 		
}	

Sometimes I&#039;ve made use of this functionality in WinForms &quot;About&quot; boxes, by enabling a &quot;Show Loaded Assemblies&quot; button if the program is running in Debug mode.</description>
		<content:encoded><![CDATA[<p>Yep, this is well useful for debugging version conficts, especially with apps that have a lot of assemblies.</p>
<p>Assuming you didn&#8217;t want to make further use of AppDomain and Assembly[], you could shorten this to:</p>
<p>foreach (Assembly MyAssembly in AppDomain.CurrentDomain.GetAssemblies())<br />
{<br />
    Console.WriteLine(&#8221;Loaded: {0}&#8221;, MyAssembly.FullName);<br />
}	</p>
<p>Sometimes I&#8217;ve made use of this functionality in WinForms &#8220;About&#8221; boxes, by enabling a &#8220;Show Loaded Assemblies&#8221; button if the program is running in Debug mode.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
