简体   繁体   English

Microsoft Visual Studio 2012 已停止工作

[英]Microsoft Visual Studio 2012 has stopped working

I have been using Visual Studio 2012 on Winodws Server 2008 R2 sp1, Although apart from a bit slow performance it seem to work fine.我一直在 Winodws Server 2008 R2 sp1 上使用 Visual Studio 2012,虽然除了性能有点慢之外,它似乎工作正常。 But whenever I close the application, I get following error-但是每当我关闭应用程序时,都会出现以下错误-

 Microsoft Visual Studio 2012 has stopped working

And prompts to restart or debug the program.并提示重启或调试程序。

I read here that deleting following registry key, would fix the issue on 64 Bit machine.在这里读到删除以下注册表项将解决 64 位机器上的问题。

[HKEY_CURRENT_USER\Software\Wow6432Node\Microsoft\WindowsNT\CurrentVersion\AppCompatFlags\Layers]

The issue is, I have not be able to locate the registry key beyond this path, on my machine.问题是,我无法在我的机器上找到超出此路径的注册表项。 HKEY_CURRENT_USER\\Software\\Wow6432Node\\Microsoft

Have you come across this situation earlier, what is the workaround for this.您之前是否遇到过这种情况,有什么解决方法。

Thank you for your help !谢谢您的帮助 !

I noticed that other community members have the same error message as yours, and they are resolved the issue by deleting the following key in the Registry:我注意到其他社区成员与您的错误消息相同,他们通过删除注册表中的以下项解决了该问题:

32-bit machine: 32位机:

[HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers]
 "C:\\Program Files (x86)\\Microsoft Visual Studio 11.0\\Common7\\IDE\\devenv.exe"=""

64-bit machine: 64位机:

[HKEY_CURRENT_USER\Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers]

See this case for further information: http://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/d848776a-b00f-4311-ab09-3a8777462968 Thanks.有关更多信息,请参阅此案例: http : //social.msdn.microsoft.com/Forums/en-US/vssetup/thread/d848776a-b00f-4311-ab09-3a8777462968谢谢。

如果我没记错的话,正确的路径是这样的:

[HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers]

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM