msgpack-cli icon indicating copy to clipboard operation
msgpack-cli copied to clipboard

Xamarin PCL support

Open cdupuis789 opened this issue 8 years ago • 4 comments

Hello,

Do you have any plan to release a version for PCL Xamarin project ?

Thanks.

cdupuis789 avatar Jan 30 '17 20:01 cdupuis789

Currently, no. Xamarin drops are implemented in dedicated assemblies due to AoT (Ahead of Compilation). Do you want to make PCL project which depends on msgpack? (I just want to know scenario/use case of Xamarin PCL)

yfakariya avatar Jan 30 '17 22:01 yfakariya

Hi,

In fact, I would like to put all my serializable class and Msgpack function in a Xamarin Forms project.

For Msgpack pack function i may be able to create an interface with Droid and iOs project.

But for class, i don't think i will be able to add index annotation like [MessagePackMember(0)] in Xamarin Forms Project.

Regards.

cdupuis789 avatar Feb 04 '17 06:02 cdupuis789

I see, thanks! As long as I know, I think you can use shared project, but it should be restricted by msgpack.

Although I cannot commit the date to be available .NET Standard 1.3 assembly supports Xamarin.iOS (in fact, .net standard drop should work in Xamarin.Android and others as long as they do not use AOT), I will enable Xamarin in .net standard assembly.

yfakariya avatar Feb 04 '17 11:02 yfakariya

Note: Xamarin.Forms should be support netstandard 1.0 in next release, but AOT consideration should be needed.

yfakariya avatar Sep 26 '17 14:09 yfakariya