Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
poynting-dev opened this issue Feb 21, 2025 · 1 comment
Open
Assignees
Labels
bug Something isn't working

Comments

@poynting-dev
Copy link

poynting-dev commented Feb 21, 2025

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

@poynting-dev poynting-dev added the bug Something isn't working label Feb 21, 2025
@poynting-dev
Copy link
Author

@sivMSFT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants