Home Articles My Account Messages Tools Join
Tech Blog, ASP.Net, VB.Net, C#.Net, Programming Help, Help Guide
StellarPC.com | Fixing Silverlight Error - 'Could not load file or assembly 'System.Windows, Version=2.0.5.0, Cultur (Silverlight)
Fixing Silverlight Error - 'Could not load file or assembly 'System.Windows, Version=2.0.5.0, Cultur (Silverlight)
Written by: Evan Cummings

Fixing Silverlight Error - 'Could not load file or assembly 'System.Windows, Version=2.0.5.0, Cultur

I just recently jumped back into Silverlight development, and during that period of missed time Silverlight 2 Beta 2 was released, which included features that 'broke' Silver 2 Beta 1 applications. And sure enough, when loading up my project, I was greeted with the following error message:



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 easiest fix I came across was to simply create a new project, delete the current files, and select Add Existing Item... option from the Solution Explorer. Through this prompt, simply select all of your old Silverlight application files and add them to your new project. By doing this I had a fully functioning project.

If you have a more precise reason or solution, feel free to comment and discuss!

Content - Silverlight, Beta 1, Beta 2
New Post Next 50 | Previous 50
Post# Subject: Posted By: Time:
New Post Next 50| Previous 50