为 Windows 手机创建 Silverlight 4.0 项目时出错 [英] Error creating silverlight 4.0 project for windows phone

查看:35
本文介绍了为 Windows 手机创建 Silverlight 4.0 项目时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试在 VS2010(在 Windows 7 64 位)中创建一个 Windows Phone 应用程序 类型的新项目,出现错误:

Trying to create a new project in VS2010 (on Windows 7 64-bit) of type Windows Phone Application, I get the error:

在创建 Silverlight for Windows Phone 项目之前,您需要安装 Silverlight 4.0 SDK.从以下位置下载 Silverlight 4.0 SDK:[省略链接]

You need to install the Silverlight 4.0 SDK before creating a Silverlight for Windows Phone project. Download the Silverlight 4.0 SDK from: [link omitted]

如果我尝试安装 Silverlight 4.0 SDK,我得到:

If I try to install Silverlight 4.0 SDK, I get:

已安装较新版本的 Microsoft Silverlight 4 SDK.

A newer version of Microsoft Silverlight 4 SDK is already installed.

我已经完全卸载并重新安装了 VS2010(和 SP1 服务包)以及与 Silverlight 和 WP7 SDK 相关的所有内容.

I have completely uninstalled and resintalled VS2010 (and SP1 service pack) as well as everything related to silverlight and WP7 SDK.

推荐答案

我不明白这里的反对票...我过去遇到过这个问题.卸载与 Visual Studio、Silverlight 和 XNA 相关的所有内容.然后重新下载所有内容,它会起作用.

I don't understand the down vote here... I had this issue in the past. Uninstall everything that has to do with Visual Studio, Silverlight, and XNA. Then redownload everything and it'll work.

Silverlight 4 SDK
Silverlight 5 SDK
Silverlight 5 工具
Silverlight 5 Developer RuneTime x64
Silverlight 5 Developer RuneTime x86
Silverlight for WP7.1
Windows Phone 工具
还要确保您有 Visual Studio 2010 SP1

这篇关于为 Windows 手机创建 Silverlight 4.0 项目时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆