<?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>ASP.NET Tips: Loading a DLL out of the bin directory</title><link>http://blogs.msdn.com/tom/archive/2008/07/21/asp-net-tips-loading-a-dll-out-of-the-bin-directory.aspx</link><description>Question A customer has created a web project which references a class library project.&amp;#160; When deployed to the local machine the web/classes all work fine.&amp;#160; When deployed to a ‘shared’ IIS site, the class DLLs exist in the /bin folder, but the</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: ASP.NET Tips: Loading a DLL out of the bin directory</title><link>http://blogs.msdn.com/tom/archive/2008/07/21/asp-net-tips-loading-a-dll-out-of-the-bin-directory.aspx#8761782</link><pubDate>Mon, 21 Jul 2008 18:28:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8761782</guid><dc:creator>Alexandre Gomes</dc:creator><description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I've been trying to figure something very like this. But in my case the probing solutions won't work as I'm developing an addin based solution and wanted to deploy the addon applications in custom folders like ABC/bin and ABCD/bin.&lt;/P&gt;
&lt;P&gt;I've tried Assembly.LoadFile and such but although the assembly gets loaded into the domain it looks like it doesn't get loaded into the ASP.Net page compiler domain.&lt;/P&gt;
&lt;P&gt;Any ideas about this scenario?&lt;/P&gt;</description></item><item><title>re: ASP.NET Tips: Loading a DLL out of the bin directory</title><link>http://blogs.msdn.com/tom/archive/2008/07/21/asp-net-tips-loading-a-dll-out-of-the-bin-directory.aspx#8764559</link><pubDate>Tue, 22 Jul 2008 21:08:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8764559</guid><dc:creator>Tom</dc:creator><description>&lt;p&gt;Alexandre,&lt;/p&gt;
&lt;p&gt;So can you explain to me what you mean by that? &amp;nbsp;Where does it need to be that it isnt'? &amp;nbsp;What error do you see?&lt;/p&gt;
</description></item><item><title>re: ASP.NET Tips: Loading a DLL out of the bin directory</title><link>http://blogs.msdn.com/tom/archive/2008/07/21/asp-net-tips-loading-a-dll-out-of-the-bin-directory.aspx#8765096</link><pubDate>Wed, 23 Jul 2008 01:25:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8765096</guid><dc:creator>Alexandre Gomes</dc:creator><description>&lt;p&gt;My folder layout is something like this:&lt;/p&gt;
&lt;p&gt;App&lt;/p&gt;
&lt;p&gt;App/bin&lt;/p&gt;
&lt;p&gt;App/addins/addin1&lt;/p&gt;
&lt;p&gt;App/addins/addin1/bin&lt;/p&gt;
&lt;p&gt;App/addins/addin2&lt;/p&gt;
&lt;p&gt;App/addins/addin2/bin&lt;/p&gt;
&lt;p&gt;And I wanted the main application to load the dlls inside the addin1/bin and addin2/bin so I could execute the addins.&lt;/p&gt;
&lt;p&gt;Im my case, the addins are .ascx files and the bin folder contains the generated assemblies from the code behind files.&lt;/p&gt;
&lt;p&gt;Using AppDomain.Load or Assembly.LoadFile effectively loads the assemblies into the current AppDomain but actually using Page.LoadControl throws an exception that I can't recall now but I'm sure its the same when you try to browse a page if the code behind assembly is not present.&lt;/p&gt;</description></item><item><title>My favorite links from the last week (20/07/2008 - 26/07/2008)</title><link>http://blogs.msdn.com/tom/archive/2008/07/21/asp-net-tips-loading-a-dll-out-of-the-bin-directory.aspx#8778219</link><pubDate>Sun, 27 Jul 2008 13:13:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8778219</guid><dc:creator>YESChandana -Blog</dc:creator><description>&lt;p&gt;My favorite links from the last week (20/07/2008 - 26/07/2008)&lt;/p&gt;
</description></item><item><title>My favorite links from the last week - 5th Week of July 2008</title><link>http://blogs.msdn.com/tom/archive/2008/07/21/asp-net-tips-loading-a-dll-out-of-the-bin-directory.aspx#8815907</link><pubDate>Sun, 03 Aug 2008 14:14:53 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8815907</guid><dc:creator>YESChandana -Blog</dc:creator><description>&lt;p&gt;My favorite links from the last week - 5th Week of July 2008&lt;/p&gt;
</description></item><item><title>re: ASP.NET Tips: Loading a DLL out of the bin directory</title><link>http://blogs.msdn.com/tom/archive/2008/07/21/asp-net-tips-loading-a-dll-out-of-the-bin-directory.aspx#8893672</link><pubDate>Mon, 25 Aug 2008 13:37:11 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8893672</guid><dc:creator>John Doe</dc:creator><description>&lt;p&gt;By inspecting the fusion log we found out that &amp;lt;probing&amp;gt; does NOT work if the &amp;lt;configuration&amp;gt; Tag inside web.config includes the xlmns=&amp;quot;&lt;a rel="nofollow" target="_new" href="http://schemas.microsoft.com/.NetConfiguration/v2.0&amp;quot;"&gt;http://schemas.microsoft.com/.NetConfiguration/v2.0&amp;quot;&lt;/a&gt; attribute.&lt;/p&gt;</description></item><item><title>re: ASP.NET Tips: Loading a DLL out of the bin directory</title><link>http://blogs.msdn.com/tom/archive/2008/07/21/asp-net-tips-loading-a-dll-out-of-the-bin-directory.aspx#8963579</link><pubDate>Wed, 24 Sep 2008 16:27:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8963579</guid><dc:creator>arthur_pham</dc:creator><description>&lt;P&gt;I have exactly the same needs. I need to load the assemblies from the addin/bin folder. But couldn't handle how now.&lt;/P&gt;
&lt;P&gt;The thing I am doing is copy them all to the App's bin directory. But this isn't nice to mix them all together.&lt;/P&gt;
&lt;P&gt;Anyone as a solution yet?&lt;/P&gt;</description></item><item><title>Multiple bin folders for an ASP.NET Web Application</title><link>http://blogs.msdn.com/tom/archive/2008/07/21/asp-net-tips-loading-a-dll-out-of-the-bin-directory.aspx#8999148</link><pubDate>Tue, 14 Oct 2008 10:45:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8999148</guid><dc:creator>Warren Tang</dc:creator><description>&lt;p&gt;CodehighlightingproducedbyActiproCodeHighlighter(freeware)&lt;a rel="nofollow" target="_new" href="http://www.CodeHighlighter.com/--"&gt;http://www.CodeHighlighter.com/--&lt;/a&gt;&lt;/p&gt;
</description></item></channel></rss>