Quantcast
Channel: Managed Extensibility Framework
Viewing all articles
Browse latest Browse all 265

Created Unassigned: MEF Extension Bug – unexpected module initialization [14619]

$
0
0

__ModularityWithMef.Desktop Sample Application__

![Image](http://www.global-webnet.net/blog/image.axd?picture=001-BadLog.jpg)

The MefModuleManager.OnImportsSatisfied() is executing LoadModulesThatAreReadyForLoad() on line 93. Since the ModularityWithMef.Desktop application imports IModuleManager the modules are beling loaded prior the Shell constructor firing.

If you remark out this line you get the following (expected) results:
![Image](http://www.global-webnet.net/blog/image.axd?picture=003-GoodLog.jpg)

Blogged in more detailed [HERE](https://www.global-webnet.net/blog/post/2014/11/06/MEF-Extension-Bug–unexpected-module-initialization.aspx)

Viewing all articles
Browse latest Browse all 265

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>