MicrosoftEdge / MicrosoftEdge/WebView2Feedback
[Problem/Bug]: Starting from Net5.0, it does not support running
@Navdeep-ss is already working on this.
Since Jun 13, 2025.
- Dominant language
- PowerShell
- Stars
- 526
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
What happened?
When I changed the running environment of my WPF program to Net5.0, it directly reported an error with a prompt
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
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.