Skip to content

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

Open
@poynting-dev

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions