문제

The case of the problem is the following. We are currently developing 2 applications for Windows Desktop and iPad version in monotouch as well. We are trying to have as much of common code as we can, but using ServiceStack.Text, while it works on the desktop app, on ipad it causes this exception.

"An exception was thrown by the type initializer for ServiceStack.Text.ReflectionExtensions".

I am trying to build the ServiceStack.Text.Monotouch Project but while i get the source from the Git it seems to be smth wrong and the project cant be build. Can any1 gimme any advice apart from using another deserializer?

도움이 되었습니까?

해결책

Use this fork:

http://github.com/mono/ServiceStack.Text

This version is a fork based on the last available version of ServiceStack that used the MIT license and has been altered to work with the new Xamarin.iOS support for generic value type sharing (this reduces the library size, and avoids an entire class of bugs).

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top