How to point UWP Apps to a specific version of webview2 runtime that was tested and published to the store #4271
-
This is a question with reference to In UWP app , we reference the Microsoft.UI.Xaml nuget package and uses the webview2 from Microsoft.UI.Xaml.Controls namespace. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 2 replies
-
The instructions of how to select a webview2 fixed runtime is as follows: |
Beta Was this translation helpful? Give feedback.
-
Thanks @victorhuangwq .
So the UWP app supports x86 and x64 and how do we include webview2 x64 runtime libs and WebView2 x86 libs based on the build and publish configuration? |
Beta Was this translation helpful? Give feedback.
-
@victorhuangwq i have managed to build and copy the fixedruntime 119.0.2151.97 based on the build configuration. But i still see in the taskmanager that it is picking from the latest webview2 runtime 120.x.xxxx.xx. Any ideas why it is picking the latest and not the fixed runtime path from the environment variable? |
Beta Was this translation helpful? Give feedback.
-
@victorhuangwq One webview instance was picking the default path and another from Environment variable. So the instance that picks the initial path first would be the path for all the other webview instances. |
Beta Was this translation helpful? Give feedback.
-
@victorhuangwq Yes this is fixed and Thanks. |
Beta Was this translation helpful? Give feedback.
@victorhuangwq One webview instance was picking the default path and another from Environment variable. So the instance that picks the initial path first would be the path for all the other webview instances.