Building Node.js on Visual Studio 2019Β #27214
Copy link
Copy link
Closed
Labels
buildIssues and PRs related to Node.js builds or CI infrastructure.Issues and PRs related to Node.js builds or CI infrastructure.feature requestIssues requesting new Node.js features.Issues requesting new Node.js features.windowsIssues and PRs related to the Windows platform.Issues and PRs related to the Windows platform.
Description
Is your feature request related to a problem? Please describe.
Visual Studio 2019 just came out and I tried to build node.js with it. I had a look at the supported toolchains and found that the only toolchain supported for Windows is Visual Studio 2017 - https://github.com/nodejs/node/blob/master/BUILDING.md#windows
Are there any plans to support building Node.js on Visual Studio 2019?
Describe the solution you'd like
Node.js should build successfully on Visual Studio 2019.
Describe alternatives you've considered
N/A
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
buildIssues and PRs related to Node.js builds or CI infrastructure.Issues and PRs related to Node.js builds or CI infrastructure.feature requestIssues requesting new Node.js features.Issues requesting new Node.js features.windowsIssues and PRs related to the Windows platform.Issues and PRs related to the Windows platform.
Activity
bnoordhuis commentedon Apr 13, 2019
Not that I'm aware. The build tool, tools/gyp, needs to be taught to write VS2019-compatible project files. I don't know how much work that entails.
refack commentedon Apr 13, 2019
GYP3 can do that - #26620
There's just one bug that blocks building and it's addressed in #27148
gengjiawen commentedon Oct 18, 2019
Actually current master support this. Just change
set target_env=vs2019invcbuild.bat.I am thinking change current strategy. If we can't find vs2017, then we find vs2019 to build instead of a failure message.
cc @nodejs/platform-windows @targos
build: default Windows build to Visual Studio 2019
build: default Windows build to Visual Studio 2019