madskristensen / NpmTaskRunner

Visual Studio extension
Other
88 stars 32 forks source link

package.json in nested directory not showing up #57

Closed MJLHThomassen-Eurocom closed 6 years ago

MJLHThomassen-Eurocom commented 6 years ago

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

  1. Create a .csproj in visual studio
  2. Create a directory (for example: wwwroot) in the project
  3. Place a package.json file with npm scripts inside the folder made at 2.

Current behavior

No tasks are shown.

Expected behavior

The task should be shown.

scottaddie commented 6 years ago

Duplicate of https://github.com/madskristensen/NpmTaskRunner/issues/37. This is a known limitation of Task Runner Explorer and cannot be fixed by the extension.