Fail to load types from assembly

I got several warning (no compilation error and the application work well) telling my that he "fail to load types from assembly 'Telerik.windows.Controls.Navigation'. I starting receive this when i start to add some telerik control on one of my silverlight 4 page.

Warning 1 Failed to load types from assembly 'Telerik.Windows.Controls.Navigation, Version=2010.1.309.1030, Culture=neutral, PublicKeyToken=5803cfa389c90ce7' so the assembly will be ignored.
Could not load file or assembly 'System.Windows, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' or one of its dependencies. The system cannot find the file specified. GestionMembre

Warning 2 Assembly 'Telerik.Windows.Controls.Input, Version=2010.1.422.1030, Culture=neutral, PublicKeyToken=5803cfa389c90ce7' could not be loaded and will be ignored.
Could not load file or assembly 'Telerik.Windows.Controls.Input, Version=2010.1.422.1030, Culture=neutral, PublicKeyToken=5803cfa389c90ce7' or one of its dependencies. The system cannot find the file specified. GestionMembre

Warning 3 Failed to load types from assembly 'Telerik.Windows.Controls.GridView, Version=2010.1.422.1030, Culture=neutral, PublicKeyToken=5803cfa389c90ce7' so the assembly will be ignored.
Cannot resolve dependency to assembly 'Telerik.Windows.Controls.Input, Version=2010.1.422.1030, Culture=neutral, PublicKeyToken=5803cfa389c90ce7' because it has not been preloaded. When using the ReflectionOnly APIs, dependent assemblies must be pre-loaded or loaded on demand through the ReflectionOnlyAssemblyResolve event. GestionMembre

and so on! But the telerik assembly are there.

By the way, I try to copy my projet to another computer that have VS2010 and telerik radcontrol for silverlight. All work good except the design time rendering of all page containing telerik control. If I add a new silverlight page and try to add a RadGridView I got a 'expected' error. If I add several random telerik control (like radslider, rad input, ... ) then i can add the radGridview without problem and the desing time rendering problem are gone on the other telerik page.

Valeri Hristov

You have mixed references - all Telerik assemblies in an application should have the same version. From the stack trace I am seeing that you are using both 2010.1.309 and 2010.1.422 versions. Please, ensure that all Telerik assemblies have the correct version.

Sincerely yours,
Valeri Hristov
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.

HO! you are wright! I do not see this mixed reference. I delete all Telerik reference, and DLL in the Bin directory and add reference again. All warning are gone except for one:

Warning 2 Failed to load types from assembly 'Telerik.Windows.Controls.Navigation, Version=2010.1.309.1030, Culture=neutral, PublicKeyToken=5803cfa389c90ce7' so the assembly will be ignored.
Could not load file or assembly 'System.Windows, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' or one of its dependencies. The system cannot find the file specified. GestionMembre

But I do not have DLL or reference for this 2010.1.309.1030 in my projet and i don't see where this DLL is called. How I can resolve this?

Hristo

You could try to delete the Obj folder too. Then try to rebuild the application and let us know if the problem still exist. If so please send you the application so that we can investigate.

Best wishes,
Hristo
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.

Scott

I observed this issue when attempting to host a WPF user-control within a Winforms application.
I resolved this run-time exception by copying all the Telerik references from the WPF user-control project to the Winforms project. This means that I had to duplicate the same Telerik references across projects.

I admit that I am not sure of the science behind why this method was necessary for me to resolve these exceptions. But it worked.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks or appropriate markings.