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

1 posts, 0 answers
  1. Baliga
    Baliga avatar
    5 posts
    Member since:
    Jan 2009

    Posted 04 Nov 2011 Link to this post

    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=, Culture=neutral, PublicKeyToken=null")

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


Back to Top