打开任何项目时,Visual Studio 2017崩溃。 " CLR20r3" " devenv.exe的" [英] Visual Studio 2017 Crashes when opening any Project. "CLR20r3" "devenv.exe"

查看:523
本文介绍了打开任何项目时,Visual Studio 2017崩溃。 " CLR20r3" " devenv.exe的"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我通过Unity安装了Visual Studio 2017.


我正在尝试打开一个旧项目。 


Visual Studio启动并启动正常。 


当您创建全新的解决方案时,Visual Studio 2017崩溃。 


当您打开任何解决方案时,Visual Studio 2017崩溃。 


我目前在Windows 7上。


问题签名:

 问题事件名称: CLR20r3

 问题签名01: devenv.exe

 问题签名02: 15.7.27703.2042

 问题签名03: 5b3e9a40

 问题签名04: Microsoft.VisualStudio.Shell.15.0

 问题签名05: 15.0.27703.2042

 问题签名06: bcbca2ed

 问题签名07: 1912年
 问题签名08: 57

 问题签名09: System.InvalidOperationException

 操作系统版本: 6.1.7601.2.1.0.256.48

 区域设置ID: 2057

 附加信息1: 0a9e

 附加信息2: 0a9e372d3b4ad19135b953a78882e789

 附加信息3: 0a9e

 附加信息4: 0a9e372d3b4ad19135b953a78882e789


 

解决方案

你好Jay,


欢迎来到MSDN论坛。


请参阅说明,请尝试使用以下内容来解决此崩溃问题:


  1. 打开CMD并导航到VS 2015安装文件夹,如C:\Program Files(x86)\ Mesrosoft Visual Studio \\\ 2017 \ versionname \Common7 \IDE并运行命令:de venv / safemode
    将其作为安全模式运行,然后检查已安装的扩展是否导致此问题。
  2. 以管理员身份运行VS 2017安装程序,进行修复
  3. 在Windows中执行干净启动
    并启动VS
  4. 检查GAC中是否存在Microsoft.VisualStudio.Shell.15.0.dll,从"开始"菜单启动VS 2017的管理员"开发人员命令提示",运行命令:  gacutil
    -l Microsoft.VisualStudio.Shell.15.0。如果项目数不为0,请通过运行'gacutil -uf Microsoft.VisualStudio.Shell.15.0'从GAC卸载程序集。如果文件不是存在于GAC中,您是否可以使用文件资源管理器检查
    并告诉我们以下文件的文件版本或产品版本:< VS Folder> \ Common7 \IDE \ PublicAssemblies\Microsoft。 VisualStudio.Shell.15.0.dll



最好的问候,


萨拉


I installed Visual Studio 2017 via Unity.

I'm trying to open an old project. 

Visual studio starts up and launches fine. 

When you create a brand new solution, Visual Studio 2017 crashes. 

When you open any solution, Visual Studio 2017 crashes. 

I am currently on Windows 7.

Problem signature:
  Problem Event Name: CLR20r3
  Problem Signature 01: devenv.exe
  Problem Signature 02: 15.7.27703.2042
  Problem Signature 03: 5b3e9a40
  Problem Signature 04: Microsoft.VisualStudio.Shell.15.0
  Problem Signature 05: 15.0.27703.2042
  Problem Signature 06: bcbca2ed
  Problem Signature 07: 1912
  Problem Signature 08: 57
  Problem Signature 09: System.InvalidOperationException
  OS Version: 6.1.7601.2.1.0.256.48
  Locale ID: 2057
  Additional Information 1: 0a9e
  Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
  Additional Information 3: 0a9e
  Additional Information 4: 0a9e372d3b4ad19135b953a78882e789

 

解决方案

Hi Jay,

Welcome to the MSDN forum.

Refer to the description, please have a try with the following to troubleshoot this crash issue:

  1. Open CMD and navigate to the VS 2015 installation folder like C:\Program Files (x86)\Microsoft Visual Studio\2017\versionname\Common7\IDE and run the command: devenv /safemode to run it as safe mode, then check if the installed extensions caused this issue.
  2. Run the VS 2017 installer as administrator, repair it
  3. perform a clean boot in Windows and start VS
  4. check if Microsoft.VisualStudio.Shell.15.0.dll exists in the GAC or not, launch an Administrator 'Developer Command Prompt from VS 2017' from Start Menu, run the command: gacutil -l Microsoft.VisualStudio.Shell.15.0. If the Number of items is not 0, please uninstall the assembly from the GAC by running 'gacutil -uf Microsoft.VisualStudio.Shell.15.0'. If the file does not exist in the GAC, would you please use File Explorer to check and let us know the File version or Product version of the following file:<VS Folder>\Common7\IDE\PublicAssemblies\Microsoft.VisualStudio.Shell.15.0.dll

Best regards,

Sara


这篇关于打开任何项目时,Visual Studio 2017崩溃。 &QUOT; CLR20r3&QUOT; &QUOT; devenv.exe的&QUOT;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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