[紧急] Visual Studio资源管理器和设计器包错误,没有异常助手 [英] [URGENT] Visual Studio Explorers and Designers Package error and no Exception Assistant any more

查看:187
本文介绍了[紧急] Visual Studio资源管理器和设计器包错误,没有异常助手的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经从旧的解决方案中创建了一个新的解决方案并添加了ASP.NET项目。过了一会儿,我意识到我没有Exception Assistant,并且VS抛出"Visual Studio Explorers and Designers Package没有正确加载"。错误。

I have create a new solution from an old one and added ASP.NET project. After a little while I realized that I don't have Exception Assistant and the VS throws "Visual Studio Explorers and Designers Package did not load correctly" errors.

我运行Win 10 Pro x64和VS 2015 Pro。

I run Win 10 Pro x64 and VS 2015 Pro.

这体现在这个新的.NET解决方案中,而不是其他解决方案。我的队友使用这个解决方案在他的机器Windows 7上加载了这个解决方案报告的行为相同。

This manifests in this new .NET solution but not the other ones. The same behavior reported by my team mate who uses this solution loaded from SVN on his machine which is Windows 7.

我在VS日志中收到此错误,异常助手消失
之后。它有以下几种情况:

I get this error in the VS log and the Exception Assistant disappears after this. It is thrown on several occasions:

- 打开解决方案

- 更新WCF服务参考

- updating WCF service ref

- 调试期间我的代码中有一些例外

- some exceptions in my code during debug

    <type>Error</type>
    <source>VisualStudio</source>
    <description>LegacySitePackage failed for package [Visual Studio Explorers and Designers Package]Source: &apos;Microsoft.VSDesigner&apos; Description: Object reference not set to an instance of an object.&#x000D;&#x000A;System.NullReferenceException: Object reference not set to an instance of an object.&#x000D;&#x000A;   at Microsoft.VSDesigner.VSDMenus.Initialize(IServiceProvider serviceProvider)&#x000D;&#x000A;   at Microsoft.VSDesigner.VSDesignerPackage.VSDesignerPackage.Initialize()&#x000D;&#x000A;   at Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.Shell.Interop.IVsPackage.SetSite(IServiceProvider sp)</description>
    <guid>{8D8529D3-625D-4496-8354-3DAD630ECC1B}</guid>
    <hr>80004003 - E_POINTER</hr>
    <errorinfo></errorinfo>

我按照建议收集了日志。你可以帮帮我吗:

I collected the logs as suggested. Can you help me with it please :

https://1drv.ms / f / s!AjWZODpW9s_mgZc42VQSqlNl2qX5JA

https: //1drv.ms / f/ s!AjWZODpW9s_mgZc42VQSqlNl2qX5JA

推荐答案

Hi maxima,

Hi maxima,

感谢您发布MSDN论坛。

Thank you for posting MSDN forum.

请尝试以下步骤:

1。关闭所有VS实例。

1. Close all VS instances .

2。删除文件夹:

C:\ Users \< username> \ AppData \ Local \ microsoftoft \ VisualStudio \14.0 \ ComponentModelCache

3。删除文件夹:

[解决方案文件夹] \ .vs  

4。重新启动计算机并以管理员身份启动VS.

4. Reboot your machine and launch VS as administrator.

最好的问候,


这篇关于[紧急] Visual Studio资源管理器和设计器包错误,没有异常助手的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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