Error "Unable to load one or more of the requested types" on Telerik ASP.NET MVC Project

146 Views Asked by At

I start with Piranha for a week now, after read the documents and questions here I still can't solve the problem, so I post it here. Please help me. (I'm using Visual studio 2013 Update 2, Piranha 2.2.4)

When I remove Piranha and Piranha.MVC reference and add references from source project I get this error

http://pastebin.com/17CSziUK

Please help me. Thanks a lot

1

There are 1 best solutions below

2
Håkan Edling On

Piranha CMS uses MEF to import extensions into the framework. There's been issues before that some other projects don't play to nice with MEF, maybe the Telerik stuff you're using has this issue.

There's a fix coming in 2.3 where you can tell the framework to only scan the Piranha assemblies for extensions which would probably fix your issues. I'll see if I can deploy a patch for this!

Regards

Håkan