c# - Navigation fails in Silverlight application using MEF -


i have silverlight application using mef load usercontrol plugins main shell. each plugin has metadata in described name, version, icon , these of plugin , use [importmany] attribute import them main shell. when click 1 plugin on navigation bar, view placeholder navigates corresponding plugin. find weird should throw such exception on navigation. , if remove [export] attribute in plugins, works fine.

the invoker threw exception. , here's traceback:

in system.windows.navigation.pageresourcecontentloader.endload(iasyncresult asyncresult) in system.windows.navigation.navigationservice.contentloader_beginload_callback(iasyncresult result) in system.windows.navigation.pageresourcecontentloader.beginload_onuithread(asynccallback usercallback, pageresourcecontentloaderasyncresult result) in system.windows.navigation.pageresourcecontentloader.<>c__displayclass4.<beginload>b__0(object args) 

i searched lot , many said (a classic problem) caching , reparenting, though still cannot figure out cases described in articles not same mine.

anybody got idea going on?


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -