This project has moved and is read-only. For the latest updates, please go here.

Stable Composition vs Error

Oct 19, 2010 at 8:15 AM

As noted somewhere that stable composition will ignore the Export that cannot be satisfied with Import, it seems to fail silently. The only way is to either use mefx or debug it in VS2010. Is there a sample code to make it able to either

- Fail by throwing exception

- Provide a hook so that the application can trap the error 


Oct 20, 2010 at 1:03 AM

We're looking into enable a better story for this. What's your scenario? Could you share your workflow on how to fix things?

Finally, are you using the codeplex drop? why/when the tracing information is helpful or not?


Oct 20, 2010 at 2:03 AM

If something goes wrong, for example, if a user tries to add a new addin and it doesn't work, how can we identify and notify the user? The same goes for when you try to add new dll into the catalog in production environment, how would you know why it doesn't work.