您好,我遇到了一个问题,当我打开Visual Studio时,它在启动时崩溃了. [英] Hello, i got a problem , when i open visual studio it crashes on startup.

查看:124
本文介绍了您好,我遇到了一个问题,当我打开Visual Studio时,它在启动时崩溃了.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我有一个问题,当我启动Visual Studio时,它崩溃了,当我按debug时,它说:在devenv.exe中出现未处理的Microsoft .NET Framework异常[212]". -这个数字每次都是随机的.我试图重新安装vs,修复 vs,使用修复工具修复.net框架,在vs 2015的开发人员命令提示符中尝试重置设置并以安全mod启动,但仍然崩溃.请帮助我找到解决方案.

Hello , i have a problem , when i launch visual studio it crashes , and when i press debug it says : ,,An unhandled Microsoft .NET Framework exception occurred in devenv.exe [212]" - this number is random every time . I tried to reinstall vs , repair vs ,repair .net framework with repair tool , tried in developer command prompt for vs 2015 to reset settings and start in safe mod but still crashes. Please help me to find a solution.

抱歉,我的英语不好,如果不是正确的论坛,也很抱歉.

Sorry for my bad English and for the forum category if is not the right one. 

推荐答案

亲爱的Puiu,

欢迎访问MSDN论坛.

您的OS版本和VS版本是什么?根据您的描述,打开VS时崩溃,按debug时会弹出.NET Framework异常,请采取 看看以下解决方案:

What’s your OS edition and VS version? According to your description, the VS crashes when you open it and the .NET Framework exception popups when you press debug, please take a look at this following solutions:

1.使用.NET Framework安装程序验证工具验证现有.NET Framework版本: http://blogs.msdn.com/b/astebner/archive/2008/10/13/8999004.aspx . 一旦发现任何问题,请使用.NET Framework修复工具: https://www.microsoft.com/en-us/download/details.aspx?id=30135 到 维修.

1. Verify the existing .NET Framework versions with the .NET Framework setup verification tool: http://blogs.msdn.com/b/astebner/archive/2008/10/13/8999004.aspx. Once it finds any issue, please use .NET Framework Repair Tool: https://www.microsoft.com/en-us/download/details.aspx?id=30135to repair.

2.在提升的命令提示符下运行以下命令,并在每个命令后重新打开VS:

  1. devenv/resetuserdata
  2. devenv/ResetSkipPkgs

3.执行干净启动,请按照以下步骤操作: https ://support.microsoft.com/zh-cn/kb/929135 然后 打开VS.

3. Perform a clean boot follow the steps from here: https://support.microsoft.com/en-us/kb/929135then Open VS.

同时,您可以尝试使用 VS 2015的健康ISO 文件可用于修复.在此之前,请使用FCIV.exe工具 http://blogs.msdn.com/b/heaths/archive/2011/03/25/verify-the-iso-checksum-for-visual-studio-2010-service-pack-1-before-installing.aspx 到 验证ISO文件的SHA-1值,可以从以下位置找到期望的文件:

Meanwhile, you can have a try with using a healthy ISO file of VS 2015 use it to repair. Before it, please use the FCIV.exe tool http://blogs.msdn.com/b/heaths/archive/2011/03/25/verify-the-iso-checksum-for-visual-studio-2010-service-pack-1-before-installing.aspxto validate the SHA-1 value of the ISO file, the expected one can be find from: https://www.visualstudio.com/en-us/downloads/visual-studio-2015-iso-sha1-vs.aspx. Only this 2 values are the same, that means the ISO file is integrity.

如果仍然出现此问题,请上传 请使用 http://aka. ms/vscollect 收集安装日志.使用后,您会发现 vslogs.zip 在%temp%文件夹下.然后在评估后的命令提示符下运行命令: devenv/log .并上传文件(%APPDATA%\ Microsoft \ VisualStudio \ Version \ ActivityLog.xml )并 vslogs.zip 并在此处共享链接.

If this issue still occurs, please upload Please use http://aka.ms/vscollect to gather the installation logs. After using it, you will find vslogs.zip under %temp% folder. Then run the command: devenv /log in the evaluated command prompt. And upload the file (%APPDATA%\Microsoft\VisualStudio\Version\ActivityLog.xml) and vslogs.zip to https://onedrive.live.com/ and share the link here.

最好的问候,

Sara


这篇关于您好,我遇到了一个问题,当我打开Visual Studio时,它在启动时崩溃了.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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