npm cannot find C:/Program Files (x86)/MSBuild/Microsoft.Cpp/v4.0/V110/Microsoft.Cpp.Default.props W7x64 VS2015

on Windows 7 x64 using npm@3.10.9 and node@v6.11.2 having Visual Studio 2015 Community Edition I ran into the error that npm cound not find C:/Program Files (x86)/MSBuild/Microsoft.Cpp/v4.0/V110/Microsoft.Cpp.Default.props and hence couldn’t build.

resolved this by setting the VC target path with
SET VCTargetsPath=C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140

aniston has written 44 articles