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

New Post: Issue with .net 4.5 MEF

$
0
0
Hi,
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.

Thanks,
Bhaskar.

Viewing all articles
Browse latest Browse all 265

Trending Articles



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