<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>fadd Forum Rss Feed</title><link>http://www.codeplex.com/fadd/Thread/List.aspx</link><description>fadd Forum Rss Description</description><item><title>New Post: Project moving</title><link>http://fadd.codeplex.com/Thread/View.aspx?ThreadId=58752</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Why not simply run your own SVN server or HG server. Both are very easy to do and you get full control.&lt;br&gt;&lt;br&gt;we do that and never had any issues (touch wood).&lt;br&gt;&lt;br&gt;I also think HG ( Mercurial) is far superior because of the ease of doing branches and merges, and am myself thinking of moving to it.&lt;br&gt;And it is faster&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</description><author>gedw99</author><pubDate>Wed, 26 Aug 2009 21:45:49 GMT</pubDate><guid isPermaLink="false">New Post: Project moving 20090826094549P</guid></item><item><title>New Post: Project moving</title><link>http://fadd.codeplex.com/Thread/View.aspx?ThreadId=58752</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;&lt;span style="font-family:'Times New Roman';font-size:16px"&gt;
&lt;div style="color:#000000;font-family:'Segoe UI', 'Microsoft Sans Serif', Arial, Geneva, sans-serif;font-size:10pt;background-image:initial;background-repeat:initial;background-attachment:initial;background-color:#ffffff;background-position:initial initial;margin:8px"&gt;
&lt;p&gt;I'm tired of codeplex worthless subversion integration. It can't handle conflicts at all. And sometimes it says that there are no new updates (but there are).&lt;/p&gt;
&lt;p&gt;I'm so sick of it, so I want to move the project to a new site.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;My suggestions:&lt;/p&gt;
&lt;p&gt;* Google Code&lt;/p&gt;
&lt;p&gt;* BitHub&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I'm also thinking of switching to Mercurial instead of subversion.&lt;/p&gt;
&lt;p&gt;What do you think?&lt;/p&gt;
&lt;/div&gt;
&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;</description><author>jgauffin</author><pubDate>Mon, 08 Jun 2009 11:35:19 GMT</pubDate><guid isPermaLink="false">New Post: Project moving 20090608113519A</guid></item><item><title>New Post: SecurityException in PluginFinder!?</title><link>http://www.codeplex.com/fadd/Thread/View.aspx?ThreadId=42436</link><description>&lt;div style="line-height: normal;"&gt;&lt;div&gt;First google result when searching for &amp;quot;CreateDomain &lt;span style="font-family:'segoe ui';font-size:13px;color:rgb(48, 51, 45)"&gt;FileIOPermission&amp;quot;:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:'segoe ui';font-size:13px;color:rgb(48, 51, 45)"&gt;&lt;br&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt; &lt;a href="http://social.msdn.microsoft.com/Forums/en-US/vsto/thread/313208ba-2a33-48a6-93ec-e17f6560dbe1/"&gt;http://social.msdn.microsoft.com/Forums/en-US/vsto/thread/313208ba-2a33-48a6-93ec-e17f6560dbe1/&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Searching for plugins in the primary appdomain will load _ALL_ dlls into your application, and they will remain there during your programs lifetime.&lt;/div&gt;&lt;/div&gt;</description><author>jgauffin</author><pubDate>Tue, 20 Jan 2009 08:21:45 GMT</pubDate><guid isPermaLink="false">New Post: SecurityException in PluginFinder!? 20090120082145A</guid></item><item><title>New Post: SecurityException in PluginFinder!?</title><link>http://www.codeplex.com/fadd/Thread/View.aspx?ThreadId=42436</link><description>&lt;div style="line-height: normal;"&gt;I changed my Find function in PluginFinder.cs as below. It works now but is probably suboptimal. If you find a better solution, please post it!&lt;br&gt;
&lt;br&gt;
BR,&lt;br&gt;
Martin&lt;br&gt;
&lt;br&gt;
public void Find(string fullPath, IEnumerable&amp;lt;Type&amp;gt; types)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AppDomain domain = AppDomain.CreateDomain(&amp;quot;ModuleLoader&amp;quot;);&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; string test = GetType().Assembly.Location;&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;//&amp;nbsp;&amp;nbsp; &amp;nbsp;PluginFinder finder = (PluginFinder)domain.CreateInstanceFromAndUnwrap(&lt;br&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;//&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;GetType().Assembly.Location ?? string.Empty, GetType().Namespace + &amp;quot;.PluginFinder&amp;quot;);&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FindInternal(fullPath, types);&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //&amp;nbsp; finder.FindInternal(fullPath, types);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Assign(this.Plugins);&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //AppDomain.Unload(domain);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;</description><author>c3p0</author><pubDate>Tue, 20 Jan 2009 07:56:55 GMT</pubDate><guid isPermaLink="false">New Post: SecurityException in PluginFinder!? 20090120075655A</guid></item><item><title>New Post: SecurityException in PluginFinder!?</title><link>http://www.codeplex.com/fadd/Thread/View.aspx?ThreadId=42436</link><description>&lt;div style="line-height: normal;"&gt;I am having the same issue. &lt;br&gt;
I think it relates to having the fadd libraries in a separate assembly to the project in which you are loading your plugins into. I have not had a chance yet to test this theory- but are you also doing the same thing?&lt;br&gt;
Did you manage to resolve the issue? I will post back here if I resolve it. &lt;br&gt;
&lt;/div&gt;</description><author>bradels</author><pubDate>Mon, 19 Jan 2009 21:28:43 GMT</pubDate><guid isPermaLink="false">New Post: SecurityException in PluginFinder!? 20090119092843P</guid></item><item><title>New Post: SecurityException in PluginFinder!?</title><link>http://www.codeplex.com/fadd/Thread/View.aspx?ThreadId=42436</link><description>&lt;div style="line-height: normal;"&gt;Hi!&lt;br&gt;
&lt;br&gt;
When I run PluginManager.Start(), I get a&amp;nbsp; security exception (full excption is below). Debugging shows that it originates from this line:&lt;br&gt;
&lt;br&gt;
PluginFinder finder = (PluginFinder)domain.CreateInstanceFromAndUnwrap(GetType().Assembly.Location ?? string.Empty, GetType().Namespace + &amp;quot;.PluginFinder&amp;quot;);&lt;br&gt;
&lt;br&gt;
Any ideas about what can be source of this problem?&lt;br&gt;
&lt;br&gt;
Full exception:&lt;br&gt;
&lt;br&gt;
&amp;quot;Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.&amp;quot;&lt;br&gt;
&lt;br&gt;
Any ideas would be appreciated! :)&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;</description><author>c3p0</author><pubDate>Tue, 16 Dec 2008 17:20:40 GMT</pubDate><guid isPermaLink="false">New Post: SecurityException in PluginFinder!? 20081216052040P</guid></item><item><title>New Post: load plugin error on plugin not in default path</title><link>http://www.codeplex.com/fadd/Thread/View.aspx?ThreadId=35625</link><description>&lt;div style="line-height: normal;"&gt;Feel free to create a patch with the changes.&lt;br&gt;
&lt;/div&gt;</description><author>jgauffin</author><pubDate>Wed, 10 Dec 2008 13:16:52 GMT</pubDate><guid isPermaLink="false">New Post: load plugin error on plugin not in default path 20081210011652P</guid></item><item><title>New Post: load plugin error on plugin not in default path</title><link>http://www.codeplex.com/fadd/Thread/View.aspx?ThreadId=35625</link><description>&lt;div style="line-height: normal;"&gt;Hi! It's me with bugs in plugin manager again!&lt;div&gt;After long time i've discovered that Assembly.LoadFrom causes unexpected behavior for plugins, that contains use(reference) some class libraries that not used by application code directly.&lt;/div&gt;&lt;div&gt;For example:&lt;/div&gt;&lt;div&gt;Application Directory:&lt;/div&gt;&lt;div&gt;- main.exe&lt;/div&gt;&lt;div&gt;- foo.dll /* called in main.exe - so it loaded in AppDomain gracefuly */&lt;/div&gt;&lt;div&gt;- bar.dll /* there are no calls to it library in main.exe, so it assembly will not be loaded */&lt;/div&gt;&lt;div&gt;-/Plugins&lt;/div&gt;&lt;div&gt;   - testPlugin.dll /* Use bar.dll, but Assembly.LoadFrom will not search for bar.dll in parent directory!  */&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;The reason of this is next - Assembly.LoadFrom accepts assembly name, not it path. I don't know, why Assembly.LoadFrom accepts file path (Maybe, it use it like UNC path..don't know), but it works on simpe use cases. Fortunately method Assembly.LoadFile resolves all it's issues. &lt;/div&gt;&lt;/div&gt;</description><author>BloodAxe</author><pubDate>Thu, 20 Nov 2008 19:32:29 GMT</pubDate><guid isPermaLink="false">New Post: load plugin error on plugin not in default path 20081120073229P</guid></item><item><title>New Post: Again, release build fails</title><link>http://www.codeplex.com/fadd/Thread/View.aspx?ThreadId=38171</link><description>&lt;div style="line-height: normal;"&gt;fixed. We try to wrap all tests with #if DEBUG&lt;br&gt;
&lt;/div&gt;</description><author>jgauffin</author><pubDate>Wed, 22 Oct 2008 06:47:11 GMT</pubDate><guid isPermaLink="false">New Post: Again, release build fails 20081022064711A</guid></item><item><title>New Post: Again, release build fails</title><link>http://www.codeplex.com/fadd/Thread/View.aspx?ThreadId=38171</link><description>&lt;div style="line-height: normal;"&gt;Looks like misplaced #DEBUG statements, but I can't be sure.
&lt;/div&gt;</description><author>swallace21</author><pubDate>Tue, 21 Oct 2008 16:45:57 GMT</pubDate><guid isPermaLink="false">New Post: Again, release build fails 20081021044557P</guid></item><item><title>New Post: Release build fails</title><link>http://www.codeplex.com/fadd/Thread/View.aspx?ThreadId=35532</link><description>&lt;div style="line-height: normal;"&gt;Fixed =)&lt;br&gt;
&lt;/div&gt;</description><author>jgauffin</author><pubDate>Mon, 22 Sep 2008 06:18:01 GMT</pubDate><guid isPermaLink="false">New Post: Release build fails 20080922061801A</guid></item><item><title>New Post: Release build fails</title><link>http://www.codeplex.com/fadd/Thread/View.aspx?ThreadId=35532</link><description>&lt;div style="line-height: normal;"&gt;Another look-like error:$0In files ValidateMaxAttribute.cs and ValidateMinAttribute.cs namespace Fadd.Globalization declared in DEBUG scope, so in release it becomes inactive,and build fails.$0&lt;/div&gt;</description><author>BloodAxe</author><pubDate>Thu, 18 Sep 2008 10:03:16 GMT</pubDate><guid isPermaLink="false">New Post: Release build fails 20080918100316A</guid></item><item><title>New Post: load plugin error on plugin not in default path</title><link>http://www.codeplex.com/fadd/Thread/View.aspx?ThreadId=35625</link><description>&lt;div style="line-height: normal;"&gt;&lt;span style="font-family:'Segoe UI';font-size:13px"&gt;$0is ok,$0$0Assembly assembly = Assembly.Load(typeInfo.Location, evidence);$0$0$0change to$0$0Assembly assembly = Assembly.LoadFrom(typeInfo.Location, evidence);$0$0&lt;/span&gt;&lt;/div&gt;</description><author>ywscr</author><pubDate>Wed, 17 Sep 2008 00:45:32 GMT</pubDate><guid isPermaLink="false">New Post: load plugin error on plugin not in default path 20080917124532A</guid></item><item><title>New Post: load plugin error on plugin not in default path</title><link>http://www.codeplex.com/fadd/Thread/View.aspx?ThreadId=35625</link><description>&lt;div style="line-height: normal;"&gt;A last fix:$0In file PluginManager.cs, line 142:$0$0Change Assembly.Load call to Assembly.LoadFrom, because Assembly.Load is good only for GAC-ed or located in current directory assemblies.$0$0Assembly.LoadFrom works fine.$0$0$0&lt;/div&gt;</description><author>BloodAxe</author><pubDate>Tue, 16 Sep 2008 10:39:33 GMT</pubDate><guid isPermaLink="false">New Post: load plugin error on plugin not in default path 20080916103933A</guid></item><item><title>New Post: load plugin error on plugin not in default path</title><link>http://www.codeplex.com/fadd/Thread/View.aspx?ThreadId=35625</link><description>&lt;div style="line-height: normal;"&gt;Thanks to you. You've done a great work!&lt;/div&gt;</description><author>BloodAxe</author><pubDate>Tue, 16 Sep 2008 09:08:25 GMT</pubDate><guid isPermaLink="false">New Post: load plugin error on plugin not in default path 20080916090825A</guid></item><item><title>New Post: load plugin error on plugin not in default path</title><link>http://www.codeplex.com/fadd/Thread/View.aspx?ThreadId=35625</link><description>&lt;div style="line-height: normal;"&gt;Ok, I've fixed that in the latest source code version. Thanks for taking the time and finding the bug.&lt;br&gt;
&lt;/div&gt;</description><author>jgauffin</author><pubDate>Tue, 16 Sep 2008 08:58:49 GMT</pubDate><guid isPermaLink="false">New Post: load plugin error on plugin not in default path 20080916085849A</guid></item><item><title>New Post: load plugin error on plugin not in default path</title><link>http://www.codeplex.com/fadd/Thread/View.aspx?ThreadId=35625</link><description>&lt;div style="line-height: normal;"&gt;The problem is in PluginFinder.cs in line 176:$0$0                $0$0plugin = new PluginTypeInfo(assembly.FullName, type, publicKey);$0$0$0$0$0The signature of c'tor is PluginTypeInfo(string assemblyLocation, Type type, byte[] publicKey), so, first parameter expected to be an &lt;span style="font-weight:bold"&gt;absolute&lt;/span&gt; &lt;span style="font-weight:bold"&gt;path&lt;/span&gt;, where assembly file are located. But passed only assembly.FullName property. $0$0 $0$0$0$0$0$0&lt;/div&gt;</description><author>BloodAxe</author><pubDate>Tue, 16 Sep 2008 07:59:56 GMT</pubDate><guid isPermaLink="false">New Post: load plugin error on plugin not in default path 20080916075956A</guid></item><item><title>New Post: load plugin error on plugin not in default path</title><link>http://www.codeplex.com/fadd/Thread/View.aspx?ThreadId=35625</link><description>&lt;div style="line-height: normal;"&gt;The problem is in PluginFinder.cs in line 176:$0$0                $0$0plugin = new PluginTypeInfo(assembly.FullName, type, publicKey);$0$0$0$0$0The signature of c'tor is PluginTypeInfo(string assemblyLocation, Type type, byte[] publicKey), so, first parameter expected to be an &lt;span style="font-weight:bold"&gt;absolute&lt;/span&gt; &lt;span style="font-weight:bold"&gt;path&lt;/span&gt;, where assembly file are located. But passed only assembly.FullName property. $0$0 $0$0$0$0$0$0&lt;/div&gt;</description><author>BloodAxe</author><pubDate>Tue, 16 Sep 2008 07:59:56 GMT</pubDate><guid isPermaLink="false">New Post: load plugin error on plugin not in default path 20080916075956A</guid></item><item><title>New Post: load plugin error on plugin not in default path</title><link>http://www.codeplex.com/fadd/Thread/View.aspx?ThreadId=35625</link><description>&lt;div style="line-height: normal;"&gt;first ,thank's you work&lt;br&gt;
now,program can found plugin.dll from other path,but can't load it.&lt;br&gt;
&lt;br&gt;
error line:&lt;br&gt;
LoadModules() function on PluginManager.cs&lt;br&gt;
&lt;br&gt;
Assembly assembly = Assembly.Load(typeInfo.Location, evidence);&lt;br&gt;
&lt;/div&gt;</description><author>ywscr</author><pubDate>Sun, 14 Sep 2008 09:14:11 GMT</pubDate><guid isPermaLink="false">New Post: load plugin error on plugin not in default path 20080914091411A</guid></item><item><title>New Post: Release build fails</title><link>http://www.codeplex.com/fadd/Thread/View.aspx?ThreadId=35532</link><description>&lt;div style="line-height: normal;"&gt;Fixed.
&lt;/div&gt;</description><author>jgauffin</author><pubDate>Fri, 12 Sep 2008 12:37:15 GMT</pubDate><guid isPermaLink="false">New Post: Release build fails 20080912123715P</guid></item></channel></rss>