NpmCommand
property. See https://github.com/kmees/MSBuild.NodeTools/blob/master/build/MSBuild.Npm.props
Install-Package : This collection is read-only.
At line:1 char:1
+ Install-Package MSBuild.NodeTools
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
.bin
, which is where both node.js and npm.js package's executable cmd files are stored but MSBuild.Node.targets checks to see if !Exists('$(LocalNodePath)')
and .bin
is already set to a variable (at least that's what I think that conditional does? it errors out at the least with Invalid local node path
)
<LocalNodePath>$(MSBuildProjectDirectory)\.bin</LocalNodePath>
<LocalNodeModulePath>$(MSBuildProjectDirectory)\node_modules\.bin</LocalNodeModulePath>