Visual Studio 2015 RC Gulp task runner not detecting tasks

后端 未结 6 2286
予麋鹿
予麋鹿 2021-02-18 18:08

I have a Gulpfile.js in Visual Studio 2015 RC with a single default task. For some reason it is not showing up in the Task Runner Explorer.

I had added gulp

6条回答
  •  醉酒成梦
    2021-02-18 18:45

    Answer taken from another question about gulp, but this worked for me

    I had the same problem migrating from VS2013 recently. As Josh noted in his comment here Visual Studio 2015 ships with an older version of node. In case you don't want to get stuck with whatever version of node is built into Visual Studio, you can tell it to use the version you have already installed. Go to Tools > Options > Projects and Solutions > External Web Tools and reorder locations so that $(PATH) is above $(DevEnvDir)\Extensions\Microsoft\Web Tools\External. This also applies to other tools like Grunt, Bower and Gulp.

提交回复
热议问题