This is a migrated thread and some comments may be shown as answers.

Could not load file or assembly 'Telerik.Windows.Controls.GridView' while using PRISM / MEF

0 Answers 140 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Baliga
Top achievements
Rank 1
Baliga asked on 04 Nov 2011, 07:47 AM
Hi All,

  I am trying to build a new Silverlight 4 app using Prism/MEF 4 and Telerik Silverlight RAD controls. One of the modules that I load has reference to Telerik GridView assembly and it has been compiled with Assembly Library Caching. 

Now when I try to load the module and then a view in the module to a region, I get the below error -

{System.ComponentModel.Composition.CompositionException: The composition produced a single composition error. The root cause is provided below. Review the CompositionException.Errors property for more detailed information.


1) Could not load file or assembly 'Telerik.Windows.Controls.GridView, Version=2011.2.920.1040, Culture=neutral, PublicKeyToken=5803cfa389c90ce7' or one of its dependencies. The system cannot find the file specified.


Resulting in: An exception occurred while trying to create an instance of type 'TW.Modules.TaskTemplates.Views.TaskTemplateSummaryView'.


Resulting in: Cannot activate part 'TW.Modules.TaskTemplates.Views.TaskTemplateSummaryView'.
Element: TW.Modules.TaskTemplates.Views.TaskTemplateSummaryView -->  TW.Modules.TaskTemplates.Views.TaskTemplateSummaryView -->  AssemblyCatalog (Assembly="TW.Modules.TaskTemplates, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null")

Not sure if I missed out something here. Can anyone help me out please?

Regards

Baliga

No answers yet. Maybe you can help?

Tags
General Discussions
Asked by
Baliga
Top achievements
Rank 1
Share this question
or