MicrosoftEdge / MicrosoftEdge/WebView2Feedback
WebView2 in unpackaged WinUI3 application not displaying after upgrading Microsoft.Windows.SDK.BuildTools.
Nobody has claimed this yet.
- Dominant language
- PowerShell
- Stars
- 526
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
Description
When I upgraded my NuGet package Microsoft.Windows.SDK.BuildTools from 10.0.22621.1 to 10.0.22621.755 the WebView2 control stopped displaying. I can see it in the Live Visual Tree with no web content when debugging.
Version
SDK: Microsoft.Windows.SDK.NET.Ref 10.0.19041.27
Runtime: Edge 107.0.1418.62
Framework: Microsoft.NETCore.App 6.0.1.1 (WinUI3)
OS: Win10
Repro Steps
Create a blank WinUI3 application and add a WebView2 to the MainWindow grid as follows:
Run the application as an Unpackaged after setting the following in the *.csproj file:
false
None
The WebView 2 will work at first, but after upgrading the Nuget package Microsoft.Windows.SDK.BuildTools from 10.0.22621.1 to 10.0.22621.755 you will only see a blank window.
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.
Assessment
This issue has not been assessed yet.