I'm trying to reference PresentationCore.dll and PresentationFramework.dll in .NET 5 API but apparently it requires also WindowsBase, this is the error I get:
"System.TypeLoadException: Could not load type 'System.Windows.DependencyObject' from assembly 'WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'."
If I try to add reference to Windows.Base, it shows error in Visual Studio:
