Task Runner Configuration Missing in Visual Studio 2017

前端 未结 8 1210
旧巷少年郎
旧巷少年郎 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 23:06

    I encountered a similar problem when attempting this introductory Typescript tutorial. The option to run task runner explorer was not there, when I expect it should have been.

    The solution was odd, but it worked. The file I wanted to deal with was in a subfolder, like this:

    Note the lack of 'Task Runner Explorer' in the rightclick menu.

    I then moved the file into the main folder for the project:

    and now it works as expected.

    Quick update:

    In case the images stop showing (which seems to be an issue on some answers):

    The solution is to place the file in the root folder of the project.

提交回复
热议问题