MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe". To fix this, 1) install the .NET Framework 2.0 SDK, 2) install Microsoft Visua l Studio 2005 or 3) add the location of the component to the system path if it is installed elsewhere. [C:xampphtdocsnode-printerbuildbinding.sln]
Hi!
How do you solve issue? What did you exactly install?
Thx,
DB
Hi @dominikbulaj , I couldn't recalled how I fix it, but if I'm not mistaken as I remembered that to install every missing component via its component name.
npm install <component-name> --save
Thank you @chadillac81 ! 馃憤 馃槃
but isn't that some very old software that only works in 'compatibility' mode with newer versions of windows - how do I get the c++ for win 10
@simonh1000 we have some links in the README https://github.com/nodejs/node-gyp#on-windows
Simplest option is to install Build Tools for Visual Studio 2017
@refack Thank you very much. I was struggling with building electron app with electron-builder. I installed Visual studio 2017 but it didn't work. Meanwhile, installing build tools did work perfectly.
Fixed in Windows, I just had to do npm install --global --production windows-build-tools it will install Build Tools and python 2.7 even if python 2.7 was already installed.
Hi @bitsnaps , while you do the command, do you still to install manually c++?
@mrbontor for some reasons I don't have Visual Studio installed on my machine (I use gcc mostly), and since I'm not sure which version should I install, I let npm setup the right one for me. P.S. All of that because I was trying to get truffle up and running.
thanks dude. got it.
@refack Thanks, man. Installing Build Tools for VS 2017 worked for me.
Most helpful comment
Fixed in Windows, I just had to do
npm install --global --production windows-build-toolsit will install Build Tools and python 2.7 even if python 2.7 was already installed.