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