silverlight 4.0 - MEF Silently Stops Finding Exports in Deployment Catalog? -


when deployment catalog contains system.windows.controls.layout.toolkit.dll mef 'breaks'... i'm doing adding reference file in project , following diagnostics code writes nothing vs output window:

this.compositioncontainer.exportschanged += (s, args) => {     var o = args.addedexports;     o.tolist().foreach(export =>         system.diagnostics.debug             .writeline("mef export: " + export.tostring())); }; 

...when reference removed exportschanged event fires. problem "special" problem or can else on earth reproduce problem?

make sure subscribing downloadcompleted event of deploymentcatalog. in event handler, check error property of eventargs, , tell problem is.


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -