<?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 : &quot;IdeaBlade.Core.Composition.PartsCatalog:LoadCatalog : No new content found in dynamic xap /../Modules/custommodule.xap&quot; - Exported ViewModel instance not available</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : Community Forum : &quot;IdeaBlade.Core.Composition.PartsCatalog:LoadCatalog : No new content found in dynamic xap /../Modules/custommodule.xap&quot; - Exported ViewModel instance not available</description>
  <pubDate>Fri, 10 Apr 2026 20:03:18 -700</pubDate>
  <lastBuildDate>Wed, 03 Jul 2013 13:07:38 -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=4207</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>&quot;IdeaBlade.Core.Composition.PartsCatalog:LoadCatalog : No new content found in dynamic xap /../Modules/custommodule.xap&quot; - Exported ViewModel instance not available : That was easy :-). Glad you got...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=4207&amp;PID=16526#16526</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1005" rel="nofollow">mgood</a><br /><strong>Subject:</strong> 4207<br /><strong>Posted:</strong> 03-Jul-2013 at 1:07pm<br /><br />That was easy :-). Glad you got it sorted out.]]>
   </description>
   <pubDate>Wed, 03 Jul 2013 13:07:38 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=4207&amp;PID=16526#16526</guid>
  </item> 
  <item>
   <title>&quot;IdeaBlade.Core.Composition.PartsCatalog:LoadCatalog : No new content found in dynamic xap /../Modules/custommodule.xap&quot; - Exported ViewModel instance not available : Best problem I&amp;#039;ve had all...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=4207&amp;PID=16525#16525</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1865" rel="nofollow">irishbuddha</a><br /><strong>Subject:</strong> 4207<br /><strong>Posted:</strong> 03-Jul-2013 at 12:58pm<br /><br /><div>Best problem I've had all day, thanks Marcel.</div><div>Looking at decreasing the initial load time a month or two back, we had introduced a .Clear() of the search patterns that I was overlooking, and that turned out to be the exact issue.</div><div><br></div><div>Thanks for the awesomeness Marcel.</div><br>]]>
   </description>
   <pubDate>Wed, 03 Jul 2013 12:58:38 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=4207&amp;PID=16525#16525</guid>
  </item> 
  <item>
   <title>&quot;IdeaBlade.Core.Composition.PartsCatalog:LoadCatalog : No new content found in dynamic xap /../Modules/custommodule.xap&quot; - Exported ViewModel instance not available : You&amp;#039;ll get the &amp;#034;No new...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=4207&amp;PID=16524#16524</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1005" rel="nofollow">mgood</a><br /><strong>Subject:</strong> 4207<br /><strong>Posted:</strong> 03-Jul-2013 at 12:47pm<br /><br />You'll get the "No new content found..." message if no additional probe assemblies were loaded from the XAP - it could be because they've already been loaded or due to an error. If no error is logged, then it could be that the search/ignore patterns are blocking the new content.&nbsp;<div><br></div><div>On a related note if you want to indeed load the XAP during bootstrapping then do it in StartRuntimeAsync, so the bootstrapper waits for it to complete.&nbsp;</div>]]>
   </description>
   <pubDate>Wed, 03 Jul 2013 12:47:19 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=4207&amp;PID=16524#16524</guid>
  </item> 
  <item>
   <title>&quot;IdeaBlade.Core.Composition.PartsCatalog:LoadCatalog : No new content found in dynamic xap /../Modules/custommodule.xap&quot; - Exported ViewModel instance not available : Trying to track down why a co-worker...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=4207&amp;PID=16522#16522</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1865" rel="nofollow">irishbuddha</a><br /><strong>Subject:</strong> 4207<br /><strong>Posted:</strong> 03-Jul-2013 at 11:32am<br /><br />Trying to track down why a co-worker is having an issue with a dynamically loaded xap, looking at the following in the output<div><br></div><div><div>17 : 7/3/2013 2:05:02 PM : &nbsp;: IdeaBlade.Core.Composition.PartsCatalog:LoadCatalog : No new content found in dynamic xap /../Modules/custommodule.xap</div><div>18 : 7/3/2013 2:05:02 PM : &nbsp;: IdeaBlade.Core.Composition.PartsCatalog:OnRecomposed : Dynamic content added: /../Modules/custommodule.xap, loaded without error</div></div><div><br></div><div><br></div><div>The call to Composition.AssXapAsync(/../Modules/custommodule.xap) is below and everything seems to run without an obvious error/problem. End result though is that the exported view model they are after isn't found and thus can't be used. Thoughts on what direction to look in?</div><div><br></div><div>AppBootstrapper.cs</div><div>public class AppBootstrapper : CocktailMefBootstrapper&lt;ShellViewModel&gt;</div><div>{</div><div>...</div><div><div>&nbsp; &nbsp; &nbsp; &nbsp; protected async override void StartRuntime()</div><div>&nbsp; &nbsp; &nbsp; &nbsp; {</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>base.StartRuntime();</div></div><div><span ="Apple-tab-span" style="white-space:pre">		</span>await Composition.AddXapAsync("/../Modules/custommodule.xap");</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>}</div><div>...</div><div>}</div><div><br></div><div>We've tried looking at timing issues and moving the call to our splash screen which is where it's actually needed once a license file is check to determine whether to load the xap or not, same results there so for simplicity sake in the example we have the call back in the StartRuntime(). The only thing that seemed odd, but it could just be due to the async nature of the logged messages is that the OnRecomposed message that it was 'loaded without error' comes after the 'no new content found'.</div><div><br></div><div>We have several exported instances of this same type of view model that are working fine, but they are currently located in the main xap, not via a loaded external xap as this one is. This is basically just a copy/paste of one of these working viewmodels with a new name and associated Unit Of Work (also re-classed to match)</div><div><br></div><div>&#091;Export(typeof(IDashboardItem))&#093; &nbsp;</div><div>&#091;PartCreationPolicy(CreationPolicy.NonShared)&#093;</div><div>public class HomeTileTestViewModel: DashboardItem</div><div>{</div><div>...</div><div>}</div><div><br></div><div>Hoping for the obvious, let me know if I'm leaving anything out that may help.</div>]]>
   </description>
   <pubDate>Wed, 03 Jul 2013 11:32:13 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=4207&amp;PID=16522#16522</guid>
  </item> 
 </channel>
</rss>