[Problem/Bug]: Webview2 fails to initialize hosted inside Visual Studio (VSIX) when using implicit init via the Source
property with CreationProperties
set
#5119
Labels
bug
Something isn't working
What happened?
When you try to initialize Webview2 by using the
Source
property from WPF hosted in a Visual Studio extension and haveCreationProperties
set, you will get a weird ArgumentException on WPF/XAML trying to setCreationProperties
and the webview will fail to initialize. Doing the exact same thing but usingEnsureCoreWebView2Async
andNavigate
instead of theSource
property does work.Importance
Low. My app is not very affected, or this only affects development.
Runtime Channel
Stable release (WebView2 Runtime)
Runtime Version
133.0.3065.69
SDK Version
1.0.3065.39
Framework
WPF
Operating System
Windows 11
OS Version
10.0.26100.0
Repro steps
Repros in Edge Browser
No, issue does not reproduce in the corresponding Edge version
Regression
Don't know
Last working version (if regression)
No response
The text was updated successfully, but these errors were encountered: