-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows build fails with Visual Studio 2019 but succeeds with Visual Studio 2017 #277
Comments
Same problem here with VS2019. It was actually working for me with VS2019 up until recently (probably something in Release 1.9.2-19). |
Getting this issue. I could have use VS2017 but I am using electron-rebuild which complains about path longer than 260 characters so I have to upgrade to VS2019, now I am stuck. |
So the commit fd5e2ad explicitly remove the definition and implementation of |
Our team found that installing Windows SDK >=22000 will pass a build with VS2019/2022. |
When I pull the current master branch (commit 02bdb84) and try to build it, the build succeeds when using Visual Studio 2017, but fails with Visual Studio 2019.
This is surprising to me because it looks like your GitHub prebuild action is using Visual Studio 2019 and it succeeds.
Specifically, when I build with Visual Studio 2019 (16.11.33027.164) the build fails when building noble_winrt.cc:
This error does not occur when I use Visual Studio 2017 (15.9.33027.88).
Any thoughts on why this is, and why the GitHub prebuild action succeeds even though it is using Visual Studio 2019?
This isn't a major issue, since I can just build using Visual Studio 2017, but I do wonder why 2019 fails.
The text was updated successfully, but these errors were encountered: