0

My Visual Studio project contains a file named gulpfile.js in a project root folder. This file was added to the project by a teammate who uses VS Code. She uses this gulp file to perform the "bundling and minimizing" operations that VS 2019 does through the Bundler & Minimizer extension.

When I load the project in VS 2019, I get a warning message from Task Runner Explorer:

Failed to run "C:\Users\xxx\Gulpfile.js"... cmd.exe /c gulp --tasks-simple 'gulp' is not recognized as an internal or external command, operable program or batch file.

Now, I don't have gulp installed, so I understand the complaint that 'gulp' is not recognized. But why is Task Runner trying to deal with gulpfile.js in the first place?

I have two questions related to this:

  1. If I had gulp installed, would the gulp file be executed?
  2. How do I tell Task Runner not to try to deal with this file (and thus eliminate the error message)?
Bob.at.Indigo.Health
  • 9,166
  • 11
  • 51
  • 93

0 Answers0