Open aslanovsergey opened 6 years ago
I was only able to make it work if the package.json is in the higest level of the project solution. one wishes that it could be also recognized from a structure like '~Scripts/react/appname/'.
Mine's in the root folder (along with the njsproj) and it still doesn't pop up.. Edit: Luckily I was able to find the window in View->Other Windows->Task Runner Explorer .. Sorry I haven't used Visual Studio much lol
I have the same problem. No Task Runner Explorer in menu when I click on package.json. It is in a subdirectory of ~Scripts.
My VS is in Italian.
Thanks
I am having a similar case, my React files are in a sub-folder in my project, e.g. ~/assets/react/*. As a workaround, I created a new project and included all files in the ~/assets/react/*. That way, the task runner can see the scripts in package.json.
Simple workaround is to add a package.json file to the root of the project and add something similar to this
{ "scripts": { "watch": "cd ClientApp && npm i && npm run watch" }, "-vs-binding": { "ProjectOpened": [ "watch" ] } }
Installed product versions
Description
I don't see Task Runner Explorer in menu when I click on package.json