Visual Studio中的错误 [英] Error in Visual Studio

查看:81
本文介绍了Visual Studio中的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,我不知道这是不是正确的论坛,但是我有Visual Studio 2015 Community Edition,但遇到了问题

Hello, I dont know if this is the right forum but I have Visual Studio 2015 Community Edition and I am having a problem

当我尝试打开扩展和更新"时,我收到一条错误消息,提示发生了一个或多个错误".我似乎找不到任何相关信息.有人可以向我指出正确的方向吗?

When I try to open up "Extensions and Updates" I get an error saying "One or more errors occurred" I cannot seem to find any information on this.. can someone point me in the right direction?

我最近在尝试安装Xamarin之后重新安装了VS,因此没有任何效果,所以我先卸载了,然后重新安装..从那时起,它就在其他事情上出错了...

I recently reinstall VS after attempting to install Xamarin and then nothing would work, so i uninstalled, then reinstalled.. ever since then its been erroring out on different things...

谢谢

Bob Anastasia

Bob Anastasia

推荐答案

嗨鲍勃·阿纳斯塔西娅,

欢迎来到MSDN论坛

> >当我尝试打开扩展和更新"时,我收到一条错误消息,提示发生了一个或多个错误". 我似乎找不到任何相关信息.有人可以向我指出正确的方向吗?

>>When I try to open up "Extensions and Updates" I get an error saying "One or more errors occurred" I cannot seem to find any information on this.. can someone point me in the right direction?

您可以 到事件查看器(控制面板 à 全部 控制面板项目 à à 事件 查看器),然后重现此问题,看看是否有相关的错误信息.

You can go to the Event Viewer (Control PanelàAll Control Panel ItemsàAdministrative ToolsàEvent Viewer), then reproduce this issue and see there has the related error information or not.

重新安装VS时,您是否遇到任何错误或警告消息?现在VS 2015社区的最新版本是VS社区 2015年更新3,请确保您安装了最新的更新.

When you reinstall the VS, did you met any error or warning message? Now the latest version of VS 2015 community is the VS community 2015 with update 3, please make sure you installed the latest one.

请参阅错误消息,请尝试以下解决此问题的方法:

1. 删除或重命名以下文件夹:

1. Delete or rename the following folders:

•C:\ Users \ <您的用户名> \ AppData \ Local \ Microsoft \ VisualStudio \ 14.0

•C:\ Users \<您的用户名> \ AppData \ Roaming \ Microsoft \ VisualStudio \ 14.0

2. 请打开管理CMD窗口并导航到C:\ Program Files(x86) \ Microsoft Visual Studio 14.0 \ Common7 \ IDE,然后运行以下命令,并且在每个命令之后, 打开VS再次检查此问题:

2. Please open an administrative CMD window and navigate to C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE and run the following commands and after each command, open VS to check this issue again:

  • devenv/resetuserdata:清理旧的用户数据
  • devenv/resetsettings:如果要保留,将自定义设置重置为默认设置当前设置,您需要先将其导出,然后再重置,请转到工具导入" 和导出设置…
  • devenv/safemode:运行VS安全模式
  • devenv /resetuserdata: clean up the old user data
  • devenv /resetsettings: reset the customized setting to the default setting, if you want to keep the current setting, you need to export it before resetting it, please go to Tool-Import and Export Settings…
  • devenv /safemode: run VS with safe mode

3.转到控制面板-程序和功能",然后右键单击VS 2015,然后选择更改修复".

如果上述方法没有工作, 我需要您的帮助来收集VS运行时日志,请运行以下命令: 在评估的命令提示符下 devenv/log .并将文件(%APPDATA%\ Microsoft \ VisualStudio \ Version \ ActivityLog.xml )上传到 并在此处共享链接.

If the above methods not work, I need your help to collect the VS runtime logs, please run the command: devenv /log in the evaluated command prompt. And upload the file (%APPDATA%\Microsoft\VisualStudio\Version\ActivityLog.xml) to https://onedrive.live.com/ and share the link here.

最好的问候,

Sara


这篇关于Visual Studio中的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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