本文介绍了适用于SQL Server 2014的SSDT +适用于Visual Studio 2013的Office开发人员工具-2014年3月更新=>无法加载Lighswitch项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法在Visual Studio 2013中加载或创建LightSwitch项目,似乎已经为SQL Server 2014安装了SSDT.

I cannot load or create LightSwitch projects in Visual Studio 2013, it would seem after having installed SSDT for SQL Server 2014.

VS失败,并显示一条错误,指出它无法加载设计器,这是VSactivitylog.xml中的2个条目:

VS fails with an error stating it cannot load a designer, here are the 2 entries in VS activitylog.xml:

  <entry>    <record>704</record>    <time>2014/04/11 12:33:48.593</time>    <type>Error</type>    <source>VisualStudio</source>    <description>SetSite failed for package [Microsoft.LightSwitch.VSIntegration.Project.RootProject.RootProjectPackage, Microsoft.LightSwitch.Design.Package, Version=12.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]</description>    <guid>{783E7E99-F1EC-4B21-91E2-D36F20B7C81D}</guid>    <hr>80131602</hr>    <errorinfo>Could not find or load a specific class that was requested through Reflection. (Exception from HRESULT: 0x80131602)</errorinfo>  </entry>  <entry>    <record>705</record>    <time>2014/04/11 12:33:48.593</time>    <type>Error</type>    <source>VisualStudio</source>    <description>End package load [Microsoft.LightSwitch.VSIntegration.Project.RootProject.RootProjectPackage, Microsoft.LightSwitch.Design.Package, Version=12.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]</description>    <guid>{783E7E99-F1EC-4B21-91E2-D36F20B7C81D}</guid>    <hr>80131602</hr>    <errorinfo>Could not find or load a specific class that was requested through Reflection. (Exception from HRESULT: 0x80131602)</errorinfo>  </entry>

尝试重新安装Visual Studio 2013的Office开发人员工具– 2014年3月更新,然后生成一个"

Trying to reinstall Office Developer Tools for Visual Studio 2013 – March 2014 Update, then produces an 'External Dependency is Not Installed' error message:

您必须首先安装SQL Server数据工具.

You must first install SQL Server Data Tools.

我想知道我是否是一个孤立的案例,或者是否可以重现?

I am wondering if I am an isolated case, or if this is reproducible?

p>

是否可以通过程序集重定向对其进行修复?

Could it be fixed with an assembly redirection?

推荐答案

这真的不应该发生.对VS的一部分进行更新不应破坏VS中的其他内容.

This really shouldn't happen. Updates to one part of VS should NOT break something else in VS.

我尝试修复并重命名ComponentModelCache文件夹(位于%AppData%\ Local \ Microsoft \ VisualStudio \ 12.0中).

I've tried a repair and renaming the ComponentModelCache folder (in %AppData%\Local\Microsoft\VisualStudio\12.0).

如果我无法使其很快恢复正常运行,则必须删除并重新安装Visual Studio,再次使用.

If I can't get it working again soon, I'll have to remove and reinstall Visual Studio, AGAIN.


这篇关于适用于SQL Server 2014的SSDT +适用于Visual Studio 2013的Office开发人员工具-2014年3月更新=&gt;无法加载Lighswitch项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-26 15:27