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

Crash on load for DataVisualization

1 Answer 111 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Matt
Top achievements
Rank 1
Matt asked on 15 Aug 2013, 12:46 PM
Hello,

I'm developing an application using WPF on .NET 4.5/C#.  I have a simple page that contains a RadTimeline.  The control displays just fine in the designer, but when I run the app and navigate to the page, it crashes to desktop with the error:

Managed Debugging Assistant 'BindingFailure' has detected a problem in 'C:\Code\PlanitV2\PlanIt2\bin\Debug\PlanIt2.exe'.
 
Additional information: The assembly with display name 'Telerik.Windows.Controls.DataVisualization' failed to load in the 'Load' binding context of the AppDomain with ID 1. The cause of the failure was: System.IO.FileNotFoundException: Could not load file or assembly 'Telerik.Windows.Controls.DataVisualization, Version=2013.2.724.45, Culture=neutral, PublicKeyToken=5803cfa389c90ce7' or one of its dependencies. The system cannot find the file specified.

I have tried other controls from the DataVisualization .dll and all behave the same way (crash to desktop).

I've verified that the .DLL is actually in the build folder.  I've restarted VS and my system.  I have removed and re-added the references to the appropriate DLLs.  I've run repair on the control suite using the Telerik control panel.  I've uninstalled and reinstalled the control suite. I've removed everything from the WPF page except a single control.

Any ideas?

Thanks!

Matthew

1 Answer, 1 is accepted

Sort by
0
Matt
Top achievements
Rank 1
answered on 15 Aug 2013, 01:46 PM
Solved, I had a reference to the DataVisualization DLL in my UI project, but not in my main project.  Adding it there fixed the crash.
Tags
General Discussions
Asked by
Matt
Top achievements
Rank 1
Answers by
Matt
Top achievements
Rank 1
Share this question
or