xamarin.ios - Servicestack assembly failing on Xamarin IOS after update -


i've upgraded latest xamarin build , although libraries referenced keep getting these errors:

error cs0012: type servicestack.servicehost.ireturn1' defined in assembly not referenced. consider adding reference assembly `servicestack.interfaces, version=3.9.55.0, culture=neutral, publickeytoken=null' (cs0012) (place.logic)

error cs0012: type servicestack.servicehost.ireturn' defined in assembly not referenced. consider adding reference assemblyservicestack.interfaces, version=3.9.55.0, culture=neutral, publickeytoken=null' (cs0012) (place.logic)

(the monotouch dlls have incorrect version numbers on release builds think)

****update

from comments , links , one: xamarin studio ios assembly error

it appears dlls need recompiled source if not using particular command line toold.

unfortunately, source files on servicestack monotouch source files incomplete , keeps saying: servicestack.text.monotouch (load failed). has managed recompile these , put them public use?

***update

adding monotouch version of source files results in xamarin studio complaining files incompatible ie. monotouch v1.0, when attempting select them reference within same solution file.

***workaround

my dto dll referencing servicestack dlls , raising issues versioning etc. i've ended duplicating dto source files xamarin projects server side logic. works although i'm not happy have duplicates of same code :(

in general, monotouch projects may reference other monotouch projects or monotouch builds of assemblies. (you make exceptions appropriately targeted portable class libraries.)

thus, if app references servicestack monotouch assemblies, dto project references non-monotouch servicestack assemblies, , app references dto project, fail describe.

so, yes, mention, common-practice have monotouch project along-side standard project same source. monotouch project shell referencing files in standard project. (there multiple practices keeping these projects in sync, , area of continued development. 1 trick, example, use wildcards in .csproj file.)

finally, worth noting version of servicestack reference in client app not strictly need match version of servicestack referenced in server project. conventions servicestack resolves service urls , serializes/deserializes dtos have been stable. upgrade servicestack on server w/out upgrading client.


Comments

Popular posts from this blog

php - get table cell data from and place a copy in another table -

javascript - Mootools wait with Fx.Morph start -

php - Navigate throught databse rows -