VS2010目标Silverlight版本2.0?
我刚刚升级到 VS2010,因为我遇到了一个 Silverlight 项目的问题,我需要在 2.0 中构建该项目,但我还需要在 3.0 中构建其他项目。
我了解了 VS2010 指定 Silverlight 目标版本的能力,并认为是时候升级来解决我的问题了。
我已经安装了 2010 并且还安装了 Silverlight 2 SDK,但是当我打开我的 Silverlight 项目时,目标 Silverlight 版本下唯一可用的选项是 Silverlight 3。
在谷歌搜索了一下后,我发现了另一个 Stack Overflow 帖子,似乎呈现了解决方案:
但是,特定的解决方案是添加 Silverlight 4到下拉菜单;好像没有Silverlight 2 Tools for VS2010,Silverlight 2 Tools for VS2008也不会安装,因为我还没有安装VS2008。
谁能为我提供一个可能的解决方案?
干杯, 安东尼
I've just upgraded to VS2010 as I was running into problems with a Silverlight project that I needed to be built in 2.0 but I also needed other projects built in 3.0.
I read about VS2010's ability to specify the Silverlight Target version and figured it was time to upgrade to solve my problem.
I've installed 2010 and have also installed the Silverlight 2 SDK, but when I open my Silverlight project, the only option available under Target Silverlight Version is Silverlight 3.
After googling for a bit, I found another Stack Overflow post that seemed to present a solution:
Target Silverlight Version is stuck
However, the particular solution is for adding Silverlight 4 to the dropdown; there doesn't seem to be a Silverlight 2 Tools for VS2010, and the Silverlight 2 Tools for VS2008 won't install because I haven't got VS2008 installed.
Can anyone shed any light on a possible solution for me?
Cheers,
Anthony
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
VS2010 不支持 Silverlight 2 开发。为此,您需要使用 VS2008。幸运的是,2008 和 2010 可以毫无问题地并排安装。
Silverlight 2 development is not supported in VS2010. You need to use VS2008 for that. Luckily, 2008 and 2010 can be installed side-by-side with no problems.