Skip to content

Can't use WinUI3/WindowsAppSDK with WebView2 Nuget packages #396

@alexandrevk

Description

@alexandrevk

Unable to build sample project "Getting started with WebView2 in WinUI3 (Preview)" https://docs.microsoft.com/en-us/microsoft-edge/webview2/gettingstarted/winui after adding reference to WebView2

Build failed with error:
Error WMC1006 Cannot resolve Assembly or Windows Metadata file 'Type universe cannot resolve assembly: System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089.'

AB#37267505

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestfeature requesttrackedWe are tracking this work internally.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions