Hi
It took me a very very long time to figure out I am having the issue because of the Infragistics controls
Following is the explanation of the error I get:
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. C:\Projects\SilverlightApplication1\SilverlightApplication1\MainPage.xaml 1 1 SilverlightApplication1
I get this error only after I dragged the XAM Web Tree onto my project, rather after the infragistics controls are added to the project, I am using :
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.
And the runtime version of this Infragistics.Silverlight.XamWebTree.v10.1.dll is rendered as v2.0.50727 on the visual studio.
I am not sure if it is a known error or if I have to reinstall something , Please let me know how to handle this as soon as possible, i have already spend far too many hours researching into this error and I have to finish off my work at hand as soon as possible.
Thanks
That link is for Silverlight 4 Tools for Visual Studio 2010, so yes that should certainly be useful.
I had to first un-install Silverlight using the Control Panel, then re-install the Silverlight 4 components. You will probably need to install Silverlight 4 before installing the Silverlight Developer Tools.
Further can you please check if i can install this one file should that be sufficient?
http://www.microsoft.com/downloads/details.aspx?FamilyID=eff8a0da-0a4d-48e8-8366-6ddf2ecad801&displaylang=en
Do i need to delete all the files related to silverlight in the reference assemblies?!
I actually encountered this exact issue on my own machine. In my case, I suspect it had something to do with a conflict between the Systems.Window.dll files across Silverlight 3 & 4.
My solution was to uninstall Silverlight (3 & 4), then re-install Silverlight 4. Specifically, I went to Start->Control Panel->Uninstall Programs and uninstalled Silverlight, the Silverlight 3 SDK, the Silverlight 4 SDK, and Silverlight 4 Tools for Visual Studio. Then, I re-installed Silverlight 4 from these links:
Silverlight 4 Developer Runtime: http://go.microsoft.com/fwlink/?LinkID=188039
Silverlight 4 Tools for Visual Studio: http://go.microsoft.com/fwlink/?LinkID=177428
Perhaps that will work for you.