<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : CompositionHost.IgnorePatterns bug ?</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : CompositionHost.IgnorePatterns bug ?</description>
  <pubDate>Sun, 12 Apr 2026 06:00:02 -700</pubDate>
  <lastBuildDate>Thu, 29 Sep 2011 13:59:43 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=2963</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>CompositionHost.IgnorePatterns bug ? :   It doesn&amp;#039;t look like...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2963&amp;PID=11742#11742</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 2963<br /><strong>Posted:</strong> 29-Sep-2011 at 1:59pm<br /><br />It doesn't look like the CompositionHost.IgnorePatterns is causing the problem.  You can check the CompositionHost.Instance.ProbeAssemblies after recomposition to see everything that DevForce has loaded for probing.  If in doubt about the IgnorePatterns, just clear them.  Their purpose is just to speed up probing by removing assemblies which usually don't need to be probed.<div>&nbsp;</div><div>I contacted the DevForce-Caliburn author also, and he says that the framework doesn't do any specific restrictions by assembly name.  So, we could end up tearing our hair out too, since it's not clear where the problem might be.  We don't directly support DevForce-Caliburn here on this forum, but you can get support at <a href="http://devforcecaliburn.codeplex.com/discussi&#111;ns" target="_blank">http://devforcecaliburn.codeplex.com/discussions</a>.</div>]]>
   </description>
   <pubDate>Thu, 29 Sep 2011 13:59:43 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2963&amp;PID=11742#11742</guid>
  </item> 
  <item>
   <title>CompositionHost.IgnorePatterns bug ? : Well I have got another good one...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2963&amp;PID=11740#11740</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1061" rel="nofollow">nazbrok</a><br /><strong>Subject:</strong> 2963<br /><strong>Posted:</strong> 29-Sep-2011 at 8:38am<br /><br /><span ="Apple-style-span" style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><div style=": rgb255, 255, 255; margin-left: 1px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; font-family: Verdana, Arial, Helvetica, sans-serif; color: rgb0, 0, 0; font-size: 12px; line-height: 1.4; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; -: n&#111;ne; ">Well I have got another good one !<div><br></div><div>I have on XAP with 3 assemblies named :</div><div>- WSoft.Securite.Screens.dll</div><div>&nbsp; =&gt; Export the ViewModels</div><div>- WSoft.Securite.Services.dll</div><div>&nbsp; =&gt; Export the repositories and UnitofWork</div><div>WSoft.Membership.Client.Domain.dll</div><div>&nbsp; =&gt; Has the client side Model + Export of the IEntityManagerProvider&lt;&gt;</div><div><br></div><div>When we download the XAP only the .Screens and .Domain are found in the catalogs.</div><div>I traced down to the Ideablade.Core.Composition.Add(xap) and in the OnRecomposed event (named RefreshCaliburnAssemblySource in Caliburn) no trace of&nbsp;WSoft.Securite.Services.dll in the catalog.</div><div><br></div><div>IF we go in the properties of this project and change the Assembly Name to, for exemple, "AAAAA" it will works. I will have AAAA with his export in the catalog. It seems "WSof.Securite.Services" (-t of WSoft) works too but "WSoft.Securite" won't either.</div><div><br></div><div>Other strange things is I have another XAP having also 3 assemblies following this scheme.</div><div>Difference is they are named WSoft.Admissions.Screens.dll and so on. This XAP works perfectly.</div><div><br></div><div><span ="Apple-style-span">IF I go in the properties of the project&nbsp;WSoft.Admissions.</span>Services<span ="Apple-style-span">&nbsp;and say the assembly must be named&nbsp;WSoft.Securite.Services AND I in the project &nbsp;</span>WSoft.Securite.Services I say the assembly name is&nbsp;<span ="Apple-style-span">WSoft.Admissions.</span>Services then the XAP which was working fine isn't anymore and the one which wasn't working is now working !!</div><div><br></div></div></span>this particular name "WSoft.Security.Services" (and maybe some others) seems to be a problem during recomposition.<div><span ="Apple-style-span" style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "></span>So is this bug related to the previous on with the "Telerik*" pattern ? I am going crazy on this one, 2 days I am on it and I don't have much hair left :(<span ="Apple-style-span" style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><div style=": rgb255, 255, 255; margin-left: 1px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; font-family: Verdana, Arial, Helvetica, sans-serif; color: rgb0, 0, 0; font-size: 12px; line-height: 1.4; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; -: n&#111;ne; "><div><br></div><div><br></div><div>regards,</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div></span></div>]]>
   </description>
   <pubDate>Thu, 29 Sep 2011 08:38:31 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2963&amp;PID=11740#11740</guid>
  </item> 
  <item>
   <title>CompositionHost.IgnorePatterns bug ? : Ok,thanks for the answer. </title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2963&amp;PID=11684#11684</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1061" rel="nofollow">nazbrok</a><br /><strong>Subject:</strong> 2963<br /><strong>Posted:</strong> 19-Sep-2011 at 11:52am<br /><br />Ok,&nbsp;<div><br></div><div>thanks for the answer.</div>]]>
   </description>
   <pubDate>Mon, 19 Sep 2011 11:52:20 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2963&amp;PID=11684#11684</guid>
  </item> 
  <item>
   <title>CompositionHost.IgnorePatterns bug ? : Hi nazbrok;Yes, that is a bug....</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2963&amp;PID=11683#11683</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=912" rel="nofollow">DenisK</a><br /><strong>Subject:</strong> 2963<br /><strong>Posted:</strong> 19-Sep-2011 at 11:43am<br /><br />Hi nazbrok;<div><br></div><div>Yes, that is a bug. We already file a bug report for this.</div><div><br></div><div>The only side effect that I can think of is your DevForce app will now add any Telerik.* assemblies to its catalog. If you have a lot of Telerik assemblies, this can slow your start up time.</div><div><br></div><div>I suggest removing the word Telerik from the assembly name is a better workaround.</div>]]>
   </description>
   <pubDate>Mon, 19 Sep 2011 11:43:22 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2963&amp;PID=11683#11683</guid>
  </item> 
  <item>
   <title>CompositionHost.IgnorePatterns bug ? : Hi,I think I found a bug in the...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2963&amp;PID=11682#11682</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1061" rel="nofollow">nazbrok</a><br /><strong>Subject:</strong> 2963<br /><strong>Posted:</strong> 18-Sep-2011 at 12:56am<br /><br /><div>Hi,</div><div><br></div><div>I think I found a bug in the compositionhost.&nbsp;We use Devforce 6.1.2, Caliburn-Devforce and MEF</div><div><br></div><div>I have a XAP named Company.Telerik.AutoLoad.xap. It contains only Teleriks assemblies and another one assembly named like the xap Company.Telerik.Autoload.dll. It contains one&nbsp;&#091;Export&#093;.&nbsp;</div><div>The problem is nothing is exported from this assembly ...</div><div><br></div><div>I found out that after adding the Xap to the compositionhost nothing is really added, my assembly isn't there. The XAP is downloaded but that's all.</div><div><br></div><div>There is 2 way of fixing the issue :</div><div>- remove Telerik from the IgnorePattern of the CompositionHost :&nbsp;CompositionHost.IgnorePatterns.Remove("Telerik.*");</div><div>- Removing "Telerik" from the name of the Assembly .</div><div><br></div><div>How can my assembly match the pattern "Telerik.*" since it is named "Company.Telerik.*" ? Is this a bug or I misunderstood something ?</div><div><br></div><div>So far we removed the Telerik.* pattern from the compositionhost but can we have some side effect ? I guess there was a good reason if you added it as default !</div>]]>
   </description>
   <pubDate>Sun, 18 Sep 2011 00:56:06 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2963&amp;PID=11682#11682</guid>
  </item> 
 </channel>
</rss>