Error creating silverlight 4.0 project for windows phone

烂漫一生 提交于 2019-12-24 10:23:06

问题


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

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]

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

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

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


回答1:


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 Tools
Silverlight 5 Developer RuneTime x64
Silverlight 5 Developer RuneTime x86
Silverlight for WP7.1
Windows Phone Tool
Also make sure you have Visual Studio 2010 SP1



来源:https://stackoverflow.com/questions/8903229/error-creating-silverlight-4-0-project-for-windows-phone

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!