(.Net) Error in a project using Windows Application Packaging Project

I have a WPF project using .NetCore. I installed Windows Application Packaging Project to pack it as UWP app, then Realm package throw this error :

System.TypeInitializationException: ‘The type initializer for ‘Realms.SharedRealmHandle’ threw an exception.’
DllNotFoundException: Unable to load DLL ‘realm-wrappers’: The specified module could not be found. (Exception from HRESULT: 0x8007007E)

I’m sorry I cannot comment because I do not know the version details of the platform you are trying to install on, the version of realm, or how you are trying to install.