Visual Studio 2017如何启用/禁用ServiceHub.exe组件

时间:2018-01-07 19:00:54

标签: visual-studio visual-studio-2017

如何停用?

在以下屏幕截图中,您可以看到以 ServiceHub 开头的六个流程。这些从我开始VS-2017 CE开始。令人讨厌的是,当我退出VS-2017 CE时,它们并没有停止。我想知道如何禁用它们,以便它们不会首先启动。

如何启用?

是什么打开了这些?

截图

enter image description here

3 个答案:

答案 0 :(得分:5)

第一种解决方法:

  

工具>选项>文本编辑器> JavaScript / TypeScript>语言服务......
  取消选中启用新的JavaScript语言服务


  

工具>扩展程序和更新>用于Microsoft Visual Studio的TypeScript> 停用

第二种解决方法:

重命名 ServiceHub.Host.Node.x86.exe ,如果要启用它,只需将其重命名为原始文件:

  

C:\ Program Files(x86)\ Microsoft Visual Studio \ 2017 \ Enterprise \ Common7 \ ServiceHub \ Hosts \ ServiceHub.Host.Node.x86 \

链接:

  1. https://developercommunity.visualstudio.com/content/problem/30326/how-to-avoid-nodeexe-and-servicehubhostnodex86exe.html

  2. https://developercommunity.visualstudio.com/content/problem/31406/visual-studio-2017-nodejs-server-process-turn-off.html

  3. https://developercommunity.visualstudio.com/content/problem/27033/nodejs-server-side-javascript-process-consuming-to.html?childToView=27629#comment-27629

  4. Visual Studio 2017 - Node.JS Server Process - Turn off?

答案 1 :(得分:3)

安装程序具有“结束任务”按钮,我单击了它,安装程序运行正常

答案 2 :(得分:1)

这些错误发生在我使用 Visual Studio Installer (下载我选择的软件包后)时,该错误是通过安装更多项目模板( New Project 窗口)的选项打开的)。

我只是关闭了Visual Studio ,并且冲突从安装程序中消失了,允许安装正常进行。