(No tasks found) message in task runner explorer VS 2015

南笙酒味 提交于 2019-12-11 13:43:31

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!