You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The project does not use WPF or WinForms; it controls windows through the Win32 API (Set Handle). Therefore, there is actually no dependency on WindowBase at all. Previously, everything was normal in the .NET 8.0 environment.
Although the project is still running normally, we would also like to find the cause and eliminate this warning.
Thanks
Importance
Moderate. My app's user experience is affected, but still usable.
What happened?
This phenomenon occurred after we upgraded to .NET 9.0, and a warning is generated during compilation:
File: Microsoft.Common.CurrentVersion.targets
The project does not use WPF or WinForms; it controls windows through the Win32 API (Set Handle). Therefore, there is actually no dependency on WindowBase at all. Previously, everything was normal in the .NET 8.0 environment.
Although the project is still running normally, we would also like to find the cause and eliminate this warning.
Thanks
Importance
Moderate. My app's user experience is affected, but still usable.
Runtime Channel
Stable release (WebView2 Runtime), Prerelease (Edge Canary/Dev/Beta)
Runtime Version
130.0.2849.80
SDK Version
1.0.2895-prerelease
Framework
Other
Operating System
Windows 11
OS Version
22631.4460
Repro steps
Upgrade to .NET 9.0
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
The text was updated successfully, but these errors were encountered: