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

Issue with .net 4.5 MEF

Apr 8, 2013 at 12:31 PM
I am new .net 4.5 MEF, and I am aware of using MEF in .net 4.0. I tried creating an application using MEF in .net 4.5 but when MEF try to create instance of the class it throws the below exception. "The composition produced a single composition error. The root cause is provided below. Review the CompositionException.Errors property for more detailed information." They provided some suggestions about constructor I tried all the possibilities but still I am getting the same error, but when I tried running the same code in VS 2010 it worked without issues. I am using Contracts for MEF with some metadata involved for filtering. Could somebody please help in figuring out the issue.