3

Closed

MonoTouch10 vs. Xamarinios10

description

We are attempting to use MVVM Light in a Xamarin.iOS project, and when installing the toolkit through NuGet the "GalaSoft.MvvmLight.Platform" DLL only downloads in Xamarin.iOS projects targeting the older MonoTouch10 runtime, but not the newer 64-bit compatible Xamarinios10 runtime. Can the package be updated to support and target the newer runtime? Thanks!
Closed Feb 15, 2015 at 5:14 PM by lbugnion

comments

lbugnion wrote Jan 15, 2015 at 2:24 PM

Hi,

I was just in the process of porting. I copied the DLLs at this location:
http://1drv.ms/1ylP1TS

I also ported my Xamarin Evolve sample (Flowers) to the new Unified API. The sample can be found here:
http://1drv.ms/1xt11xu

I will update the Nuget package ASAP. I have a few other things I want to take care in this release. In the mean time, the DLLs here should help you to port your app.

Cheers
Laurent

llsousa wrote Jan 15, 2015 at 3:04 PM

Thanks Laurent, this will work perfectly for us. As you recommended on your blog, we will switch back to the nuget package when you have that up.

claudiut wrote Jan 26, 2015 at 1:46 PM

Hi,

I've downloaded the Xamarin Evolve Flowers example from the link above, but I have a compiler error (Xamarin Studio):

/Flowers/Flowers.Forms/Flowers.Forms/Flowers.Forms/Helpers/DialogService.cs(18,18): Error CS0738: Flowers.Forms.Helpers.DialogService' does not implement interface memberGalaSoft.MvvmLight.Views.IDialogService.ShowMessage(string, string, string, string, System.Action<bool>)' and the best implementing candidate Flowers.Forms.Helpers.DialogService.ShowMessage(string, string, string, string, System.Action<bool>)' return typeSystem.Threading.Tasks.Task' does not match interface member return type `System.Threading.Tasks.Task<bool>' (CS0738) (Flowers.Forms)

Thanks,
Claudiu

lbugnion wrote Jan 26, 2015 at 8:57 PM

Hi Claudiu,

Weird, I though I updated that already. I will check it out.

Thanks for the report,
Laurent

claudiut wrote Feb 3, 2015 at 4:23 PM

Hi Laurent,

Any update on the Flowers project?

Thanks,
Claudiu

lbugnion wrote Feb 3, 2015 at 5:21 PM

Hey Claudiu,

I just checked and the Xamarin.Forms project builds fine for me. It seems that you are referencing an outdated version of MVVM Light.

To be clear, the DLLs you must reference are included in the References folder which is in the zip file. I am about to update the Nuget package too but I am not completely ready yet.

Sorry for the confusion
Thanks
Laurent

lbugnion wrote Feb 3, 2015 at 5:22 PM

OK I talked too fast. The link that is referenced above is (for some reason) an old version of the sample. Let me sort things out and I will comment back here.

lbugnion wrote Feb 3, 2015 at 5:27 PM

Please use the following link for the Xamarin Evolve sample:
http://1drv.ms/1yNA7qU

To avoid confusion between the versions, I deleted the previous one.

Again, sorry about the confusion.
Cheers
Laurent

lbugnion wrote Feb 6, 2015 at 2:37 PM

Solved in V5.1 (upcoming)

lbugnion wrote Feb 6, 2015 at 4:12 PM

DLLs are available here:
http://1drv.ms/1ylP1TS

Nuget will be updated ASAP.