MicrosoftEdge / MicrosoftEdge/WebView2Feedback

API change from Microsoft Breaks existing method

Open
#3,399 5 comments 0 reactions 1 assignee View on GitHub

@LiangTheDev is already working on this.

Since Apr 19, 2023.

bug
Dominant language
PowerShell
Stars
526
Forks
67
PR merge metrics
No merged PRs in 30d

Description

This changes breaking backward compatibility and application crashes at the run time due to additional parameter

New Method

// Microsoft.Web.WebView2.Core, Version=1.0.1587.40, Culture=neutral, PublicKeyToken=2a8ab48044d2601e

// Microsoft.Web.WebView2.Core.CoreWebView2EnvironmentOptions

public CoreWebView2EnvironmentOptions(string additionalBrowserArguments = null, string language = null, string targetCompatibleBrowserVersion = null, bool allowSingleSignOnUsingOSPrimaryAccount = false, List customSchemeRegistrations = null)

{}

OLD:

// Microsoft.Web.WebView2.Core, Version=1.0.1418.22, Culture=neutral, PublicKeyToken=2a8ab48044d2601e

// Microsoft.Web.WebView2.Core.CoreWebView2EnvironmentOptions

public CoreWebView2EnvironmentOptions(string additionalBrowserArguments = null, string language = null, string targetCompatibleBrowserVersion = null, bool allowSingleSignOnUsingOSPrimaryAccount = false)

{}

Please let me know if this has be adrressed.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.