Page 1 of 1

OpenSilver : MVVMLight and browser

Posted: Mon Mar 22, 2021 8:34 am
by DMO
Hi,

I encounter an error when i run my application in browser. In simulator, it's OK.
I am using MVVMLight and when i try to use GalaSoft.MvvmLight.Ioc.SimpleIoc.GetInstance[TService] i have this exception :

System.DllNotFoundException: MonoPosixHelper assembly:<unknown assembly> type:<unknown type> member:(null).

Could you help me ?

Re: OpenSilver : MVVMLight and browser

Posted: Thu Mar 25, 2021 6:35 am
by JS-Support @Userware
Hi,

please use this fork: https://github.com/OpenSilver/mvvmlight

Thanks!

Re: OpenSilver : MVVMLight and browser

Posted: Tue Mar 30, 2021 5:43 am
by DMO
Hi,

The problem was not due to MvvmLight.
It was in the constructor of my service which subscribed to the event NetworkChange.NetworkAddressChanged.
It seems it's not already supported by blazor (mono).

Thanks.

Re: OpenSilver : MVVMLight and browser

Posted: Tue Mar 30, 2021 9:05 am
by JS-Support @Userware
Thanks