msgpack / msgpack-cli

MessagePack implementation for Common Language Infrastructure / msgpack.org[C#]
http://msgpack.org
Apache License 2.0
835 stars 175 forks source link

Cannot reference monotouch.dll in a Xamarin.iOS project #181

Closed joshardt closed 8 years ago

joshardt commented 8 years ago

The update to MsgPack.Cli 0.7.1 lead to the following error:

Severity Code Description Project File Line Suppression State Error Cannot reference 'monotouch.dll' in a Xamarin.iOS project - it is implicitly referenced by 'MsgPack, Version=0.7.0.0, Culture=neutral, PublicKeyToken=a2625990d5dc0167'. MyCompany.Mobile.MyApp.iOS C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets 681

Is there any way to fix it? Otherwise we go down again to version 0.6.8

yfakariya commented 8 years ago

It looks MsgPack.Xamarin.iOS build issue about unitifie API although I wonder if the 0.6.8 worked because I did not change it dependencies. I'll release 0.8 beta in few days, so could you try it?

yfakariya commented 8 years ago

I found [assembly:MonoTouch.Foundation.LinkerSafe] shoud cause this error.

yfakariya commented 8 years ago

@JFMG Could you try this nightly package? https://ci.appveyor.com/project/yfakariya/msgpack-cli-x2p85/build/master-46/artifacts

joshardt commented 8 years ago

Thanks @yfakariya It works! 👍

yfakariya commented 8 years ago

Thank you. I'll release as 0.8 beta soon, and will 0.8 final if it does not have problems after a week.

joshardt commented 8 years ago

Awesome :-)

yfakariya commented 8 years ago

Close because this should be solved in 0.8.