Skip to content

[Problem/Bug]: Starting from Net5.0, it does not support running #5271

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

Open
Coolkeke opened this issue Jun 12, 2025 · 0 comments
Open

[Problem/Bug]: Starting from Net5.0, it does not support running #5271

Coolkeke opened this issue Jun 12, 2025 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Coolkeke
Copy link

What happened?

When I changed the running environment of my WPF program to Net5.0, it directly reported an error with a prompt

Image

System.IO.FileNotFoundException:“Could not load file or assembly 'Microsoft.Windows.SDK.NET, Version=10.0.17763.10, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the specified file. ”

When it is below 5.0, it can operate normally

Importance

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

Runtime Channel

Stable release (WebView2 Runtime)

Runtime Version

No response

SDK Version

9.0.102

Framework

WPF

Operating System

Windows 10

OS Version

No response

Repro steps

You can directly use the WebView2Samples project to restore the phenomenon, and modify the Target Frameworks to net5.0-windows or even higher to restore the problem

Repros in Edge Browser

No, issue does not reproduce in the corresponding Edge version

Regression

No, this never worked

Last working version (if regression)

No response

@Coolkeke Coolkeke added the bug Something isn't working label Jun 12, 2025
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