从 Silverlight 3 迁移到 Silverlight 4

发布于 2024-08-29 06:45:10 字数 190 浏览 0 评论 0原文

我将我的应用程序从 silverlight 3 VS2010 移至具有 Silverlight 4 和 VS 2010 的系统。当我打开解决方案时,我在 MainPAge.xml 中收到以下错误。 怎么了。

无法解析目标框架“Silverlight,版本=v3.0”的 mscorlib。如果未安装目标框架或框架名称格式不正确,则可能会发生这种情况。

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.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

小…红帽 2024-09-05 06:45:10

打开项目的“属性”,验证“Silverlight”部分中的“目标 Silverlight 版本”是否设置为 Silverlight 4。

由于您为 Silverlight 3 开发了应用程序,因此“目标 Silverlight 版本”设置为 3,并且“系统”仅安装了版本4。因此 Visual Studio 无法解析版本 3 的 Silverlight 程序集。

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.

白云不回头 2024-09-05 06:45:10

以下是一种场景,它定义了从 SL3 迁移到 SL4 时出现的问题以及相同的解决方案

http://www.a2zmenu.com/Blogs/Silverlight/Migration-Silverlight-3-to-Silverlight-4.aspx

Here is one scenario which defines the problem when migrating from SL3 to SL4 and resolution for the same

http://www.a2zmenu.com/Blogs/Silverlight/Migrating-Silverlight-3-to-Silverlight-4.aspx

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文