When the package.json file is not in the root of a project its tasks are not shown in the Task Runner Explorer. When the same package.json file is moved to the root of the project its in, the tasks do show up.
Steps to recreate
Create a .csproj in visual studio
Create a directory (for example: wwwroot) in the project
Place a package.json file with npm scripts inside the folder made at 2.
Installed product versions
Description
When the package.json file is not in the root of a project its tasks are not shown in the Task Runner Explorer. When the same package.json file is moved to the root of the project its in, the tasks do show up.
Steps to recreate
Current behavior
No tasks are shown.
Expected behavior
The task should be shown.