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

Re: System.Windows.dll error

1 Answer 23 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Rishi
Top achievements
Rank 1
Rishi asked on 15 Jun 2010, 04:30 PM
Hi,

I have been running into the following issue and was not able to figure out the proper solution, please help me  with it:
Error    1    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.   The file is MainPage.XAML and MainSkin.XAML.

I am using SL 4.0 the Silverlight application is hosted inside of a .Net 4.0 application developed in VS 2010, I have both VS 2010 and VS 2008 installed on my system.

There were issues of similar kind when I had another silverlight project as part of another solution having like seven other projects some of which were in framework 3.5(the solution was upgraded to open in vs 2010 ) , so I ended up creating a separate solution with just the sl4.0 project and the website in 4.0 hosting the silverlight application.

But i was hit by the same error even in this new project.

Any help is greatly appreciated.

Thanks








1 Answer, 1 is accepted

Sort by
0
Boyan
Telerik team
answered on 17 Jun 2010, 08:33 AM
Hi Rishi,

Could you please try if you are using Silverlight 3 Telerik controls in the application. Such error is usually shown when you are using SL4 controls in SL3 application or vice versa. Also if you are using more than one projects in your solution check if they are using the same SL versions. Also you can check the version of System.Windows.dll. It should be 2.0.5.0, you can also try to remove it and add it again as some problem may have occurred during conversion.

Kind regards,
Boyan
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
Tags
General Discussions
Asked by
Rishi
Top achievements
Rank 1
Answers by
Boyan
Telerik team
Share this question
or