none
不能新建LightSwitch项目 RRS feed

  • 问题

  •        在Visual Studio2013中,新建LightSwitch项目时,提示:未能正确加载LightSwitch Designer Hosting package包。提示与别的扩展有冲突,具体信息存储在ActivityLog.xml中。

           有谁知道该如何解决吗?

    出错信息:

    624 ERROR SetSite failed for package [LightSwitch Designer Hosting package] 80131602 
    625 ERROR End package load [LightSwitch Designer Hosting package]  80131602 
    626 ERROR SetSite failed for package [Microsoft.LightSwitch.VSIntegration.Project.RootProject.RootProjectPackage, Microsoft.LightSwitch.Design.Package, Version=12.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]  80131602 
    627 ERROR End package load [Microsoft.LightSwitch.VSIntegration.Project.RootProject.RootProjectPackage, Microsoft.LightSwitch.Design.Package, Version=12.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]  80131602 
    632 ERROR SetSite failed for package [LightSwitch Designer Hosting package]  80131602
    633 ERROR End package load [LightSwitch Designer Hosting package]  80131602
    634 ERROR SetSite failed for package [Microsoft.LightSwitch.VSIntegration.Project.RootProject.RootProjectPackage, Microsoft.LightSwitch.Design.Package, Version=12.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]  80131602 
    635 ERROR End package load [Microsoft.LightSwitch.VSIntegration.Project.RootProject.RootProjectPackage, Microsoft.LightSwitch.Design.Package, Version=12.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]  80131602 
    640 ERROR SetSite failed for package [LightSwitch Designer Hosting package]  80131602 
    641 ERROR End package load [LightSwitch Designer Hosting package]  80131602 
    642 ERROR SetSite failed for package [Microsoft.LightSwitch.VSIntegration.Project.RootProject.RootProjectPackage, Microsoft.LightSwitch.Design.Package, Version=12.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]  80131602
    643 ERROR End package load [Microsoft.LightSwitch.VSIntegration.Project.RootProject.RootProjectPackage, Microsoft.LightSwitch.Design.Package, Version=12.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]  80131602 
    653 ERROR SetSite failed for package [LightSwitch Designer Hosting package]  80131602
    654 ERROR End package load [LightSwitch Designer Hosting package]  80131602
    655 ERROR SetSite failed for package [Microsoft.LightSwitch.VSIntegration.Project.RootProject.RootProjectPackage, Microsoft.LightSwitch.Design.Package, Version=12.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]  80131602
    656 ERROR End package load [Microsoft.LightSwitch.VSIntegration.Project.RootProject.RootProjectPackage, Microsoft.LightSwitch.Design.Package, Version=12.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]  80131602
    661 ERROR SetSite failed for package [LightSwitch Designer Hosting package]  80131602
    662 ERROR End package load [LightSwitch Designer Hosting package]  80131602
    663 ERROR SetSite failed for package [Microsoft.LightSwitch.VSIntegration.Project.RootProject.RootProjectPackage, Microsoft.LightSwitch.Design.Package, Version=12.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]  80131602
    664 ERROR End package load [Microsoft.LightSwitch.VSIntegration.Project.RootProject.RootProjectPackage, Microsoft.LightSwitch.Design.Package, Version=12.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]  80131602 

    2014年4月16日 8:14

答案

  • 你好:

    欢迎来到MSDN中文论坛。

    请参考这篇帖子中的Q&A:

    Troubleshooting LightSwitch Beta 2 Setup and Configuration Issues

    Issue: LightSwitch Beta 1 was not uninstalled before installing LightSwitch Beta 2

    Error: 'Microsoft.Lightswitch,version="10.0.0.0",publicKeyToken-"31bf3856ad364e35",processorArchitecture=MSIL,fileVersion"10.0.40219.201",culture="neutral"'. Please refer to help and Support for more information. HRESULT:0x80070005

    Error:Creating a LightSwitch Designer Hosting package did not load correctly’

    Mitigation: Uninstalling Beta 1 is required before installing Beta 2. If you unintentionally installed Beta 2 before removing Beta 1, you may need to get your machine back into a clean state.

    1.Open Control Panel and click on Programs (or Add/Remove Programs).

    2.Locate the” Microsoft Visual Studio LightSwitch Beta – ENU” entry and click Uninstall.

    3.Refresh the Add/Remove Programs dialog.

    4.If “Microsoft Visual Studio LightSwitch Beta Server Runtime” is still listed, uninstall it.

    检查一下你的问题是否属于这种情况,版本1没有卸载直接安装版本2. 我对LightSwitch不熟,我觉得你可以把所有版本都卸载然后重新安装一下看看。


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.


    2014年4月17日 2:58
    版主

全部回复

  • 你这个不仅仅是一个包没正确加载吧?试试先用用VS 安装文件Repair一下 


    My Blog
    Please use Make as Answer if my post solved your problem and use Vote As Helpful if a post was useful.

    2014年4月17日 2:43
  • 你好:

    欢迎来到MSDN中文论坛。

    请参考这篇帖子中的Q&A:

    Troubleshooting LightSwitch Beta 2 Setup and Configuration Issues

    Issue: LightSwitch Beta 1 was not uninstalled before installing LightSwitch Beta 2

    Error: 'Microsoft.Lightswitch,version="10.0.0.0",publicKeyToken-"31bf3856ad364e35",processorArchitecture=MSIL,fileVersion"10.0.40219.201",culture="neutral"'. Please refer to help and Support for more information. HRESULT:0x80070005

    Error:Creating a LightSwitch Designer Hosting package did not load correctly’

    Mitigation: Uninstalling Beta 1 is required before installing Beta 2. If you unintentionally installed Beta 2 before removing Beta 1, you may need to get your machine back into a clean state.

    1.Open Control Panel and click on Programs (or Add/Remove Programs).

    2.Locate the” Microsoft Visual Studio LightSwitch Beta – ENU” entry and click Uninstall.

    3.Refresh the Add/Remove Programs dialog.

    4.If “Microsoft Visual Studio LightSwitch Beta Server Runtime” is still listed, uninstall it.

    检查一下你的问题是否属于这种情况,版本1没有卸载直接安装版本2. 我对LightSwitch不熟,我觉得你可以把所有版本都卸载然后重新安装一下看看。


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.


    2014年4月17日 2:58
    版主