How can I fix Visual Studio 2015 exception Microso

2020-05-25 06:35发布

I installed Visual Studio Community 2015 and I created a project, but when I run the project I get this exception:

Microsoft.vshup.server.httphostx64.exe has stopped working

I am using Windows 8.

I would appreciate it if you could help me.

12条回答
Rolldiameter
2楼-- · 2020-05-25 07:05

I had the same issue due to corrupted drivers but it happened while debugging, I fixed it by unchecking "use hardware graphic acceleration " from Tools > options > environment and followed the steps in this post:

https://thomas-barthelemy.github.io/2015/05/01/visual-studio-vshub/

Navigate to

"C:\Program Files (x86)\Common Files\Microsoft Shared\VsHub\1.0.0.0"

  • Stop Visual Studio if started
  • rename Microsoft.VsHub.Server.HttpHostx64.exe to Microsoft.VsHub.Server.HttpHostx64.exe.bak

  • Create a copy of Microsoft.VsHub.Server.HttpHost.exe and rename it Microsoft.VsHub.Server.HttpHostx64.exe

  • Re-start Visual Studio

查看更多
Anthone
3楼-- · 2020-05-25 07:05

I was facing the same problem and resolved it by removing the VsHub directory at below location.

C:\Program Files (x86)\Common Files\Microsoft Shared\VsHub\

this is the simplest way the fix the problem, VS will recreate the directory on it need.

查看更多
聊天终结者
4楼-- · 2020-05-25 07:10

This is a bit late, but for everyone else struggling with this, in my case this issue was solved after deleting Webcompanion from Lavasoft and removing all register entries containing Lavasoft This issue came up using VS2015 Community with Win8.1

查看更多
【Aperson】
5楼-- · 2020-05-25 07:11

I soled the problem my installing https://www.microsoft.com/en-us/download/details.aspx?id=49138 twice (the second time choose "repair" option).

Make sure the VS is close and VSHub is not running in Task manager

查看更多
萌系小妹纸
6楼-- · 2020-05-25 07:12

We have finally produced a patch for this specific problem with VSHub crashing while debugging. There may be other issues with VS2015 and this patch doesn't solve all of them, but it is aimed directly at this problem. Please give it a try.

The patch is available via http://support.microsoft.com/kb/3090034.

Note: This patch will not be necessary on systems that have installed any of the future quarterly updates to Visual Studio 2015 RTM. Quarterly updates are expected to start shipping in the future and will have this fix along with other changes. We much prefer that you use a quarterly update rather than single patches like the one I referenced. Until quarterly updates are available, however, you'll need to use this patch.

查看更多
Deceive 欺骗
7楼-- · 2020-05-25 07:15

I searched the solution for hours in order to remove this error! The Windows updates changed nothing for me. The best way to get rid of this error is to go to C:\Program Files (x86)\Common Files\Microsoft Shared and delete or rename the folder VSHub. Hope this was helpful!

查看更多
登录 后发表回答