无法在Visual Studio 2010 SP1上安装Silverlight 4工具 [英] Cannot install silverlight 4 tools on visual studio 2010 sp1

查看:127
本文介绍了无法在Visual Studio 2010 SP1上安装Silverlight 4工具的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经安装了Visual Studio 2010(全新安装),然后应用了SP1.现在,我尝试安装silverlight 4工具,但收到一条奇怪的错误消息:

I've installed Visual Studio 2010 (fresh install), then applied the SP1. Now I've tried to install the silverlight 4 tools, but i'm getting a strange error message :

必须继续安装与Silverlight Tools 4的语言版本相匹配的Visual Studio 2010或Visual Web Developer Express 2010或Visual Phone Developer Express2010.SilverlightTools的安装可以继续进行之前. ="http://go.microsoft.com/fwlink/?LinkId=177432" rel ="noreferrer">

"Visual Studio 2010 or Visual Web Developer Express 2010 or Visual Phone Developer Express 2010 that matches the language version of Silverlight Tools 4 must be installed before installation of Silverlight Tools can continue. Silverlight Tools is available in other languages at http://go.microsoft.com/fwlink/?LinkId=177432.

必须先安装Visual Studio 2010的Visual Web Developer功能,然后才能继续安装."

The Visual Web Developer feature for Visual Studio 2010 must be installed before installation can continue."

我已三重检查,没有语言冲突.浏览网络时,有些人有相同的错误,但是有一些MSDN帖子说,使用SP1,您不需要安装Silverlight工具,因为它们已经与SP1捆绑在一起,但是在这里不是这种情况,我不知道. VS中没有用于Silverlight的任何项目模板,并且未安装工具.有什么想法吗?

I've triple checked and there's no language conflict. Browsing the web, some guys have the same error, but there are some MSDN posts that say that with SP1 you don't need to install silverlight tools because they're already bundled with SP1, but that's not the case here, I don't have any project templates in VS for silverlight, and the tools aren't installed. Any ideas??

推荐答案

找出发生了什么事情

我首先安装了Visual Studio,并删除了一些我认为不必要的组件(C ++,f#等).我还删除了可视化Web开发人员工具(不应该那样做……一会儿您会明白为什么).
之后,我安装了Service Pack1.然后,当尝试安装Silverlight 4工具时,出现了奇怪的错误消息,无法继续.在网上搜索后,我发现VS2010的SP1捆绑了Silverlight 4工具,应该由它安装.
问题出在这里:由于我没有安装VS安装程序并安装了Web开发人员工具,因此SP1安装程序无视Silverlight工具安装.而且由于Microsoft的Silverlight 4工具包安装程序存在错误(如果您有VS2010的SP1,则只会收到此奇怪的错误,无法继续进行),因此我陷入了困境.
我该如何解决?将Web开发人员工具添加到VS2010,然后重新应用SP1.与卸载SP1,安装Silverlight 4工具和重新安装SP1相比,这是一种更快的解决方案. 希望微软能对此情况有所了解,并在将来将其Silverlight工具安装程序升级为更智能的产品,这样我们就不必执行这些解决方法

I installed first Visual Studio, and removed some components that I thought wouldn’t be necessary (c++, f#, etc). I also removed visual web developer tools (shouldn’t have done that… you’ll see why in a minute).
After that, I installed Service Pack 1. Then, when trying to install the Silverlight 4 tools, I got an strange error message and I couldn’t continue. After searching the web, I found out that the SP1 for VS2010 comes with the Silverlight 4 tools bundled, and it should be installed by it.
The problem comes here : since I didn’t have my VS installation with the web developer tools installed, the SP1 installer just disregarded the Silverlight tools installation. And since Microsoft’s Silverlight 4 toolkit installer is buggy (if you have SP1 for VS2010 you just get this weird error and can’t continue), I was stuck.
How did I solve it? Add web developer tools to VS2010, and reapply SP1. It’s a much faster solution than uninstalling SP1, installing Silverlight 4 tools and reinstalling SP1. Let’s hope that Microsoft grows aware of this situation, and upgrades their Silverlight tools installer to be a little more clever in the future so we don’t have to be doing these workarounds

这篇关于无法在Visual Studio 2010 SP1上安装Silverlight 4工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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