-
Notifications
You must be signed in to change notification settings - Fork 460
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
Build error in Windows Implementation library resource.h #108
Comments
I also have the same problem hao to fix it |
See microsoft/wil#25 and microsoft/wil#272 and microsoft/wil#302 |
As a work-around, downgrade the NuGet package Microsoft.Windows.ImplementationLibrary to 1.0.210803.1. |
Hi,
I'm getting the following build error when trying to build WebView2GettingStarted (Win32):
1>HelloWebView.cpp
1>c:\projects\webview2samples-master\gettingstartedguides\win32_gettingstarted\packages\microsoft.windows.implementationlibrary.1.0.210930.1\include\wil\resource.h(2543): error C2440: 'specialization': cannot convert from 'void (__cdecl *)(HANDLE) noexcept' to 'unknown-type'
1>c:\projects\webview2samples-master\gettingstartedguides\win32_gettingstarted\packages\microsoft.windows.implementationlibrary.1.0.210930.1\include\wil\resource.h(2543): note: Context does not allow for disambiguation of overloaded function
I'm using VS2017 15.9.39
Windows SDK version 10.0.17763.0
Platform Toolset v141 (I changed it from v142 for VS2017).
Release/x64
I installed the latest versions of WIL and WebView2 using the NuGet package manager.
Is there something else missing in order to build on VS2017?
The text was updated successfully, but these errors were encountered: