WPF and IOC on .NET Core 3.0