Windows-build-tools: Update MSBuild to 2017?

Created on 11 Dec 2017  路  6Comments  路  Source: felixrieseberg/windows-build-tools

Most helpful comment

I don't think anyone has made a clear authoritative decision. The 2017 build tools install a lot quicker and in theory, it shouldn't _really_ matter which version of the compiler you use.

That said, I'd love to leave this in beta for a while to make sure that it actually works. 2.0 is on the 2.0 branch - once I get around to it, I'll install a few blank VMs from Modern.ie and will try to compile your typical modules with 2.0 beta. If that all works, we might be doing people a service by upgrading.

All 6 comments

We could! It's supported from npm@5 on, so we should have a new major version that introduces that. It's a good idea though!

Brand new: 2.0-beta uses 2017.

npm i --global --production [email protected]

Is there a document somewhere that summarizes what MS build tool version is recommended for use with which version of node? (I thought that it was advisable to keep these "in sync". Is that right?)

I don't think anyone has made a clear authoritative decision. The 2017 build tools install a lot quicker and in theory, it shouldn't _really_ matter which version of the compiler you use.

That said, I'd love to leave this in beta for a while to make sure that it actually works. 2.0 is on the 2.0 branch - once I get around to it, I'll install a few blank VMs from Modern.ie and will try to compile your typical modules with 2.0 beta. If that all works, we might be doing people a service by upgrading.

Might be interesting to get the CI pipeline to install and use windows-build-tools to build those common packages.

Had the same issue after installing VS2019 when l already had VS2017. To resolve this l went to my installation and sorted by date for when l installed vs 2019 and uni-stalled the .Net SDK installed on that day.

Was this page helpful?
0 / 5 - 0 ratings