Task Runner Configuration Missing in Visual Studio 2017

前端 未结 8 1168
旧巷少年郎
旧巷少年郎 2021-02-03 22:19

I just installed Visual Studio 2017 and opened a solution I had been working in with Visual Studio 2015. It seems like everything works great except that the task runner explore

8条回答
  •  北荒
    北荒 (楼主)
    2021-02-03 22:58

    Although I have successfully been using Task Runner Explorer for other projects, even last night for example, all of a sudden today (11/17/2018) it stopped working. The solution was to go to Tools->Extensions And Updates and search (upper right corner) for NPM Task Runner and when it found that extension, I clicked the Enable button next to it. It gave me a warning that I needed to close and reopen Visual Studio 2017, and when I did, the -vs-binding for BeforeBuild in my package.json started working, and the items in Task Runner Explorer looked correct and started working again.

提交回复
热议问题