none
【警告】2010-08-23(周一)刚发布的Visual Studio 2010 LightSwitch beta1可能对你的Silverlight部署带来的灾难!!! RRS feed

  • 问题

  • 就一句话:慎装刚发布的vs2010 LightSwitch beta1,余下的贴子内容可以不看!

     

     

    首先说说vs2010 LightSwitch,官网:http://microsoft.com/lightswitch
    这家伙的确很酷,除了官网上的介绍,还有channel9.msdn.com上的几个视频,看过后就知道这家伙有多棒了。
    Introducing Visual Studio LightSwtich: http://channel9.msdn.com/posts/Dan/Jay-Schmelzer-Introducing-Visual-Studio-LightSwitch/
    Visual Studio LightSwitch - Beyond the Basics : http://channel9.msdn.com/posts/funkyonex/Visual-Studio-LightSwitch-Beyond-the-Basics/
    等等。

    我们都知道如果想在vs2010上顺利用F5 Debug Silverlight应用的话,至少目前为止可能你需要装Silverlight Tools for vs2010,装上去的话silverlight_developer版本是:4.0.50401.0。
    而目前(2010-08-25)Silverlight最高版本是4.0.50524.0。
    装LightSwitch时,它会顺便装一个Silverlight 4 SDK,这里的Silverlight版本是(TNND!)4.0.50630.0。
      好像没什么问题是吧?开发机器上4.0.50401.0,客户机上4.0.50524.0都一直没问题。

    嘿嘿!试试吧。你所有部署的应用客户端都会提示你Silverlight需要升级,而你怎么升都无法让它运行起来!
    不信就试试。我今天整个一上午就被这个LightSwitch带的Silverlight SDK里的4.0.50630.0折腾的痛苦万分!

      反正,简单讲就是装了vs2010 LightSwitch后,发布的Silverlight应用提示需要升级,而你怎么升、怎么弄都没办法时,记得是LightSwitch惹的祸!而且在‘添加/删除程序'里,可能你最需要卸载的不是LightSwitch,而是被LightSwitch顺便装上去的新的Silverlight 4 SDK. 因为它带着4.0.50630.0,你所有的Silverlight应用都会逼着客户端升级,而你。。。嘿嘿。。。貌似目前怎么也升不到4.050630.0。

    另外,有哪位找到装上LightSwitch后不影响现有Silverlight开发/部署的办法,请回个贴,谢谢。

    2010年8月25日 6:30

答案

  • For Visual Studio LightSwitch Users

    When Visual Studio LightSwitch shipped they included a pre-release later build of Silverlight 4.  This caused some issues for customers who were using a single machine to evaluate LightSwitch but also using the same machine.  Any Silverlight 4 application developed and deployed would give customers messages indicating that they needed a later version of Silverlight, but were unable to acquire a compatible version!

    This is now solved with this service release.  Simply put: If you are using LightSwitch, install the updated developer runtime and SDK.  This will solve this issue and allow you to develop LightSwitch applications as well as production Silverlight 4 applications.

    Windows developer runtime

    Silverlight 4.0.50826.0 SDK

    • 已标记为答案 Mog Liang 2010年9月6日 8:32
    2010年9月5日 18:13

全部回复

  • 我也杯具了,有什麽好的方法儘快的恢復到之前的狀態
    2010年8月31日 1:51
  • 目前解决这个问题有两个办法:

    1.修改.xap文件中的AppManifest.xaml,把4.0.50630.0改成4.0.50401.0

    或者2.在客户机上安装LightSwitch iso 里面的\WCU\Silverlight\Silverlight_Developer.exe

    微软会尽快更新Silverlight的版本。

    2010年9月1日 12:40
  • For Visual Studio LightSwitch Users

    When Visual Studio LightSwitch shipped they included a pre-release later build of Silverlight 4.  This caused some issues for customers who were using a single machine to evaluate LightSwitch but also using the same machine.  Any Silverlight 4 application developed and deployed would give customers messages indicating that they needed a later version of Silverlight, but were unable to acquire a compatible version!

    This is now solved with this service release.  Simply put: If you are using LightSwitch, install the updated developer runtime and SDK.  This will solve this issue and allow you to develop LightSwitch applications as well as production Silverlight 4 applications.

    Windows developer runtime

    Silverlight 4.0.50826.0 SDK

    • 已标记为答案 Mog Liang 2010年9月6日 8:32
    2010年9月5日 18:13