I'm working with a project that has a custom location for it's package.json file.
I have tried modifying the path in the node.targets
<NpmJson Include="$(MSBuildProjectDirectory)\package.json" />
to
<NpmJson Include="$(MSBuildProjectDirectory)\MYFOLDER\package.json" />
but the npm install task keeps insisting on running from the project root. Am I misunderstanding something or is this NpmJson item not actually being used in the node.targets file.
I'm working with a project that has a custom location for it's package.json file.
I have tried modifying the path in the node.targets
<NpmJson Include="$(MSBuildProjectDirectory)\package.json" />
to<NpmJson Include="$(MSBuildProjectDirectory)\MYFOLDER\package.json" />
but the npm install task keeps insisting on running from the project root. Am I misunderstanding something or is this NpmJson item not actually being used in the node.targets file.
Any help here would be very much appreciated