Patrick Schärer
Top achievements
Rank 1
Patrick Schärer
asked on 14 Sep 2010, 09:41 AM
Hi,
I formerly had Version 2010.1.309.1030 TRIAL of the RadControls for Silverlight. After exchanging the Telerik-DLL's in my \Bin\Debug to Version 2010.2.812.1040 DEVELOPER I can no more compile my project but get: "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".
What has System.Windows to do with the Telerik assemblies? (Of course removing system.Windows from the references and adding again didn't solve the problem). When changing back just the Telerik DLL's I can again compile my project. What's wrong?
I formerly had Version 2010.1.309.1030 TRIAL of the RadControls for Silverlight. After exchanging the Telerik-DLL's in my \Bin\Debug to Version 2010.2.812.1040 DEVELOPER I can no more compile my project but get: "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".
What has System.Windows to do with the Telerik assemblies? (Of course removing system.Windows from the references and adding again didn't solve the problem). When changing back just the Telerik DLL's I can again compile my project. What's wrong?
6 Answers, 1 is accepted
0
Hello Patrick Schärer,
Here is what you can try:
1. Remove all references to Telerik controls.
2. Create a new folder in your project, e.g. Binaries.
3. Copy the needed Telerik assemblies to that folder. Make sure you are copying the Silverlight assemblies, not the WPF ones.
4. Add references to the new assemblies.
5. Clean the solution.
6. Rebuild the solution.
Best wishes,
Veselin Vasilev
the Telerik team
Here is what you can try:
1. Remove all references to Telerik controls.
2. Create a new folder in your project, e.g. Binaries.
3. Copy the needed Telerik assemblies to that folder. Make sure you are copying the Silverlight assemblies, not the WPF ones.
4. Add references to the new assemblies.
5. Clean the solution.
6. Rebuild the solution.
Best wishes,
Veselin Vasilev
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
0
Patrick Schärer
Top achievements
Rank 1
answered on 14 Sep 2010, 02:37 PM
Thanks for trying to help. But - alas - now I get even more errors. Still the main and first one is the "Could not load file or assembly 'System.Windows...". Additionally I have "The type or namespace name 'Telerik' could not be found" - though I diligently re-added the Telerik Assemblies into the new Binaries directory, as you suggested, cleand the project and rebuilded it. What could that be?
Thanks
Patrick
Thanks
Patrick
0
Hello Patrick Schärer,
What is the exact version of the Telerik assemblies and what is the target Silverlight version of your project? If you target Silverlight 4 make sure the version of the Telerik assemblies ends with .1040
Please try the solutions from this thread as well.
All the best,
Veselin Vasilev
the Telerik team
What is the exact version of the Telerik assemblies and what is the target Silverlight version of your project? If you target Silverlight 4 make sure the version of the Telerik assemblies ends with .1040
Please try the solutions from this thread as well.
All the best,
Veselin Vasilev
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
0
Patrick Schärer
Top achievements
Rank 1
answered on 14 Sep 2010, 04:06 PM
Your answer makes it even more strange for me.
My Target SL Version is SL4.
When it worked (with the old assemblies) they had Version 2010.1.309.1030 - so according to your info they should be wrong.
Now that it does not work, my assemblies have the version 2010.2.812.1040 - so normally THEY should work. It is just the opposit.
When I replace the DLL's in the newly created Binary directory back to the old ones, automatically it works again. As soon as I replace the first dll with the new version (no matter which one) the project would no longer compile with the mentioned error message about system.windows.
My Target SL Version is SL4.
When it worked (with the old assemblies) they had Version 2010.1.309.1030 - so according to your info they should be wrong.
Now that it does not work, my assemblies have the version 2010.2.812.1040 - so normally THEY should work. It is just the opposit.
When I replace the DLL's in the newly created Binary directory back to the old ones, automatically it works again. As soon as I replace the first dll with the new version (no matter which one) the project would no longer compile with the mentioned error message about system.windows.
0
Patrick Schärer
Top achievements
Rank 1
answered on 14 Sep 2010, 09:03 PM
In order to check if that would work (against expectation but because of the hint of your last post) I downloaded the current Version for SL3 (V2010.2.812.1030) and - oops - it worked. Which it shouldn't because my app is targetting SL4 (and never used anything else). Can somebody help my to tell me why? Do RadControls for Silverlight 4 not work with SL4, but RadControls for Silverlight 3 do work with SL4 ? There must be something very strange with my app - or did other's experience similar scenarios?
Thanks for help
Thanks for help
0
Hi,
Vlad
the Telerik team
Can you send us this application (via support ticket) to check it?
Best wishes,Vlad
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