Closed fuyutsuki closed 5 years ago
Ah, this puts us in a tricky spot. From what I can tell, Node and Visual Studio 2019 don't play nice together just yet (https://github.com/nodejs/node-gyp/issues/1663).
I'm not sure what the best solution is - maybe detect VS2019 and warn?
@felixrieseberg Ahh, until then it will be decided to give up using the VS2019 as it will be fixed over time.
Thank you!
Hi, I encountered this problem, so propose some problems and solutions. It would be nice if solution already exists.
Overview
As this line shows,
windows-build-tools
recognizes Visual Studio 2019 and is looking forMSBuild.exe
.Solution
I think that the easiest and most flexible way is to add an option or environment variable so that we can specify the path to
MSBuild.exe
.My environment