OpenSilver : MVVMLight and browser

DMO
Posts: 4
Joined: Thu Dec 17, 2020 7:14 am

OpenSilver : MVVMLight and browser

Postby DMO » Mon Mar 22, 2021 8:34 am

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 ?

JS-Support @Userware
Site Admin
Posts: 1142
Joined: Tue Apr 08, 2014 3:42 pm

Re: OpenSilver : MVVMLight and browser

Postby JS-Support @Userware » Thu Mar 25, 2021 6:35 am

Hi,

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

Thanks!

DMO
Posts: 4
Joined: Thu Dec 17, 2020 7:14 am

Re: OpenSilver : MVVMLight and browser

Postby DMO » Tue Mar 30, 2021 5:43 am

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.

JS-Support @Userware
Site Admin
Posts: 1142
Joined: Tue Apr 08, 2014 3:42 pm

Re: OpenSilver : MVVMLight and browser

Postby JS-Support @Userware » Tue Mar 30, 2021 9:05 am

Thanks


Return to “General Discussion and Other”

Who is online

Users browsing this forum: No registered users and 25 guests

 

 

cron