Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Moving from Silverlight 3 to Silverlight 4

I moved my app from silverlight 3 VS2010 to a system having Silverlight 4 and VS 2010. When I open the Solution I get the following error in the MainPAge.xml. What is wrong.

Could not resolve mscorlib for target framework 'Silverlight,Version=v3.0'. This can happen if the target framework is not installed or if the framework moniker is incorrectly formatted.

like image 217
Manoj Avatar asked Dec 07 '25 15:12

Manoj


1 Answers

Open the 'Properties' of your projects an verify that the "Target Silverlight Version" in the Section "Silverlight" is set to Silverlight 4.

Since you developed your application for Silverlight 3, the "Target Silverlight Version" is set to 3 and the "system" has only Version 4 installed. So Visual Studio cannot resolve the Silverlight assemblies for Version 3.

like image 155
Jehof Avatar answered Dec 11 '25 03:12

Jehof



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!