Blacklite / Ncapsulate

NuGet and MSBuild wrappers around various Node based tools.
MIT License
29 stars 9 forks source link

NCapsulate.Node Node.targets NpmJson Path Not Used #23

Open briananderson1222 opened 8 years ago

briananderson1222 commented 8 years ago

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