本文介绍了为项目崩溃自定义上下文菜单VS2015的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚在上周与Windows 8.1一起安装的新桌面上安装了带有更新3的VS2015,并且已对其进行了全面修补.

I just installed VS2015 with update 3 on a new desktop which was installed last week with Windows 8.1 and it's fully patched.

我试图自定义与右键单击项目一起显示的上下文菜单,但是当我添加命令或菜单项时,VS2015崩溃.顺便说一句,项目列表为空(不应为空).

I'm trying to customize the context menu that is displayed with you right click projects, but when I go to add a command or menu item, VS2015 crashes. Incidentally, the list of items is empty (which it shouldn't be).

由于这是一个全新的安装,并且仍然存在相同的问题,我尝试了一次奇怪的修复.

I've tried a repair as odd as that seems since this is a brand new install and the same issue persists.

谢谢

Adrian

推荐答案

在我这边,VS2015 Enterprise版本14.0.25431.01更新3.我自定义了两个选项命令和菜单,请参考以下屏幕截图:

In my side, VS2015 Enterprise version 14.0.25431.01 Update 3. I have customized two options command and menu, please refer to the following screenshot:

然后我可以通过右键单击项目名称来单击自定义命令,请参考以下屏幕截图:

Then I could click custom command via right click the project name, please refer to the following screenshot:

那么当您添加哪个命令或添加每个命令时,此问题发生在您的身边吗?

So this issue happened in your side when you added which command or when you add every command?

我建议您可以这样做:

1).打开开发人员命令以提示输入VS2015,并一步一步执行以下操作:

1). Open the developer command for prompt for VS2015 and do the following actions one by one:

devenv.exe/ResetSettings

devenv.exe /ResetSettings

devenv.exe/ResetAddin

devenv.exe /ResetAddin

devenv.exe/ResetSkipPkgs

devenv.exe /ResetSkipPkgs

devenv/SafeMode

devenv /SafeMode

在完成上述每个步骤后,问题仍然存在,请参考以下步骤来观察事件日志.

After every above step, the issue also exists, please refer to the following steps to observe the event logs.

2).请参考以下步骤:

2). Please refer to the following steps:

单击开始"->右键单击此PC"->更多"->管理"->系统工具"->事件查看器"->双击应用程序"

Click Start->Right-click This PC->More->Manage->System Tools->Event Viewer->double-click Application

然后,所有应用程序日志将显示在列表框中.请查看是否有Visual Studio日志.

Then all logs of applications are displayed in list box. Please view whether has logs of Visual Studio.

此致

奥斯卡


这篇关于为项目崩溃自定义上下文菜单VS2015的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-22 06:14