Skip to content

[Problem/Bug]: "WebView2" does not exist in namespace "clr-namespace:Microsoft.Web.WebView2.Wpf;  #4925

@intrix-bob

Description

@intrix-bob

What happened?

Error while compiling .net wpf application using WebView2-Control: "WebView2" does not exist in namespace "clr-namespace:Microsoft.Web.WebView2.Wpf;

Visual Studio 2022: Project .net 8 (limited to Windows 10, X64)

Importance

Important. My app's user experience is significantly compromised.

Runtime Channel

Stable release (WebView2 Runtime)

Runtime Version

1.02849.39

SDK Version

.net 8

Framework

WPF

Operating System

Windows 10

OS Version

No response

Repro steps

with actual Release it doesn't work
With old "1.0.2478.35" no compile errors

Repros in Edge Browser

Yes, issue can be reproduced in the corresponding Edge version

Regression

Regression in newer Runtime

Last working version (if regression)

1.0.2478.35

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingregressionSomething used to work but doesn't anymoretrackedWe are tracking this work internally.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions