MSBUILD : error MSB4132: The tools version “2.0” is unrecognized

It is common when installing packages in Node (npm install) to be required to install Python, Visual C++ Redistribute Kit and others. In some cases, Node conflicts with versions of the Visual C++ Redistribute Kit that are already installed.

A common error caused by Visual C++ Redistribute is“MSBUILD : error MSB4132: The tools version “2.0” is unrecognized“.

The good news is that the fix is quite simple. First of all, I recommend that you uninstall all the Visual C++ Redistributes on your computer:

Now run CMD (command prompt) as Administrator:

And run the following command to install Visual C++ Redistribute using npm:

npm install --global --production windows-build-tools

That’s it! You now have the version of Visual C++ Redistribute compatible with Node JS.

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *