问题
I have task which generates CSS from LESS. It worked perfectly but I found out that it doesn't work now. I found some questions here but they weren't helpful for me. Could you tell me what can be the problem? enter image description here
回答1:
The problem was that "node_modules" was missing in my project. I added it and task runner worked correctly.
回答2:
Visual Studio's task runner will not recognize gulp tasks unless your project is not actually a project but a website.
Right click your solution -> Add -> New Website ...
A word of caution
Make sure your source control does not pick up your node packages automatically or you are in for some major headakes
来源:https://stackoverflow.com/questions/36695776/no-tasks-found-message-in-task-runner-explorer-vs-2015