Skip to content

Build error in Windows Implementation library resource.h #108

@iambar

Description

@iambar

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions