visual-studiovisual-studio-code

Is a license needed for Visual Studio Build Tools in order to install Node.JS for Visual Studio Code?


I am interested in incorporating Node.js into Visual Studio code. During the setup process, I received a request to install Python 2, Visual Studio Build Tools, and Chocolatey so that certain npm modules could be compiled from C/C++.

My goal is to maintain Visual Studio Code as a free option for producing commercial code (not that I envision this happening in the foreseeable future), and am wondering whether I would need a paid license from Microsoft to install Visual Studio Build Tools.

Thank you!

Image as part of setup process


Solution

  • As of August 2022, Microsoft now allows the Visual Studio Build Tools to be used for compiling C and C++ open source projects without requiring a license, even for commercial/enterprise users:

    https://devblogs.microsoft.com/cppblog/updates-to-visual-studio-build-tools-license-for-c-and-cpp-open-source-projects/

    So in summary: a license is no longer required to install NodeJS or other C/C++ based Open Source dependencies at the time of writing this post.