MicrosoftEdge / MicrosoftEdge/WebView2Feedback

WebView2 NuGet package: remove empty dependency groups

Open
#2,765 1 comment 0 reactions 1 assignee View on GitHub

@Lakshmisha-KS is already working on this.

Since Feb 12, 2025.

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

Description

Hello, recently we added the WebView2 NuGet package to our solution, which is managed by the Paket package manager. Upon restoring however we sometimes get this error:

Could not detect any platforms from 'native0.0' in Microsoft.Web.WebView2 1.0.1343.22, please tell the package authors

It´s because the nuspec file contains the following tags:

    <dependencies>
      <group targetFramework="native0.0" />
      <group targetFramework="UAP10.0" />
    </dependencies>

However since those dependency groups are empty, they could be removed without any issues.

AB#41245758

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.