MicrosoftEdge / MicrosoftEdge/WebView2Feedback
Can't use WinUI3/WindowsAppSDK with WebView2 Nuget packages
Nobody has claimed this yet.
- Dominant language
- PowerShell
- Stars
- 526
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
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.'
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the build failure in the “Getting started with WebView2 in WinUI3 (Preview)” sample after adding a WebView2 NuGet reference. Start with the reported WMC1006 error for System.Windows.Forms and verify that the sample builds successfully without the unresolved assembly error.
Written by the indexing model from the issue text.
Assessment
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100