MicrosoftEdge / MicrosoftEdge/WebView2Feedback

[Problem/Bug]: MSBuild Error in 1.0.3065.39\build\Common.targets

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

@soumamazu is already working on this.

Since Feb 27, 2025.

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

Description

What happened?

I am getting MSBuild Errors when compiling project using cmd through MSBuild, not from VS 2022(in VS 2022, it is building successfully)

  • getting MSBuild issues for one of my .csproj file when Webview2 version is greater than 1.0.2739.15
Importance

Blocking. My app's basic functions are not working due to this issue.

Runtime Channel

Stable release (WebView2 Runtime)

Runtime Version

133.0.3065.69

SDK Version

1.0.3065.39

Framework

WPF

Operating System

Windows 10

OS Version

No response

Repro steps

Open CMD in admin mode:
type following command for .csproj
cd C:\Program Files (x86)\MSBuild\14.0\Bin

then run command msbuild ".csproj-file-path"

Getting Error:
**\Microsoft.Web.WebView2.1.0.3065.39\build\Common.targets(267,109): error MSB4066: The attribute "Implementation" in element <WindowsMetadataReference> is unrecognized.**

Repros in Edge Browser

No, issue does not reproduce in the corresponding Edge version

Regression

Don't know

Last working version (if regression)

SDK 1.0.2478.35

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.