How to use the correct WindowsRuntime.dll in WPF for XAML Islands?
问题 I'm developing a WPF application and I would like to add XAML Islands to be able to use windows 10 controls in my app. Following this tutorial I added the Microsoft.Toolkit.Wpf.UI.XamlHost project via Nuget Package Manager. It also installed it's dependencies, like Microsoft.Windows.SDK.Contracts (10.0.18362.2005) , which has a dependency to System.Runtime.WindowsRuntime >= 4.6.0 . When I run the project, the following compilation error appeared: Multiple assemblies with equivalent identity