Describe the feature/enhancement you need
Microsoft.Web.WebView2 NuGet package should define a MSBuild property containing the required version of WebView2 Runtime. The same version which is currently provided in the Release Notes and WebView2EnvironmentOptions.h (C++):
#define CORE_WEBVIEW_TARGET_PRODUCT_VERSION L"148.0.3967.48"
Also, it's hard-coded inside Microsoft.Web.WebView2.Core.dll.
The scenario/use case where you would use this feature
This version is exactly what I need in my WiX Bundle DetectCondition\InstallCondition, when deciding whether to run MicrosoftEdgeWebview2Setup.exe. I use the registry check from Detect if a WebView2 Runtime is already installed.
Majority of the users have newer versions of WebView2 Runtime already installed thankfully to auto-updates. So, I would like to avoid running MicrosoftEdgeWebview2Setup.exe unconditionally because:
- It's rarely needed due to auto-updates.
- It takes time (noticeable delay) to go online to check for newer versions and updates, which aren't required to run my application.
- WebView2 Runtime might be in use and that complicates the installation.
How important is this request to you?
----Please select----
Suggested implementation
No response
What does your app do? Is there a pending deadline for this request?
No response
Describe the feature/enhancement you need
Microsoft.Web.WebView2NuGet package should define a MSBuild property containing the required version of WebView2 Runtime. The same version which is currently provided in the Release Notes andWebView2EnvironmentOptions.h(C++):Also, it's hard-coded inside
Microsoft.Web.WebView2.Core.dll.The scenario/use case where you would use this feature
This version is exactly what I need in my WiX Bundle
DetectCondition\InstallCondition, when deciding whether to runMicrosoftEdgeWebview2Setup.exe. I use the registry check from Detect if a WebView2 Runtime is already installed.Majority of the users have newer versions of WebView2 Runtime already installed thankfully to auto-updates. So, I would like to avoid running
MicrosoftEdgeWebview2Setup.exeunconditionally because:How important is this request to you?
----Please select----
Suggested implementation
No response
What does your app do? Is there a pending deadline for this request?
No response