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

Prism and Telerik Silverlight assemblies

2 Answers 46 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Sridhar
Top achievements
Rank 1
Sridhar asked on 21 Mar 2012, 04:32 PM
Hi,

  We are creating an LOB that uses Prism 4.1 for modularity. One of the module uses Telerik.Windows.Controls.DataVisualization so it has a reference to the same only in the module and not with the Shell app.

But when the application is run, the Prism throws up the error Telerik.Windows.Controls.DataVisualization or its depending assembly was not found. I resolved this by adding the assembly to the Shell project...

Is this the correct way?

I seem to have similar problem with when a view in the module that uses the Telerik Grid view, on load, throws up this error - Could not load file or assembly 'Telerik.Windows.Controls.GridView, Version=2012.1.215.1050, Culture=neutral, PublicKeyToken=5803cfa389c90ce7' or one of its dependencies. The system cannot find the file specified.

Am I doing something wrong here?

2 Answers, 1 is accepted

Sort by
0
Sridhar
Top achievements
Rank 1
answered on 22 Mar 2012, 11:27 AM
Found the answers -

1. I had to add System.ComponentModel.DataAnnotations that the DataVisualization assembly refers..
2. For some reason I had to refer the Telerik.Windows.Controls.Navigation dll in the "shell" app to make the module work - Not sure though why?

Regards
Sridhar
0
Vlad
Telerik team
answered on 23 Mar 2012, 08:36 AM
Hello,

 Do you have any other Telerik assemblies/components except DataVisualization?

All the best,
Vlad
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
General Discussions
Asked by
Sridhar
Top achievements
Rank 1
Answers by
Sridhar
Top achievements
Rank 1
Vlad
Telerik team
Share this question
or