Generally the easiest way is to just try it. Usually it takes very little to port a project to MonoTouch/Mono for Android. I have done this with other libraries like JSON.Net, TinyIoC, etc.
I would recommend to download the source, add everything to a new MonoTouch/Mono for Android project, and set the #if SILVERLIGHT preprocessor directive in your project if they use it. After that, it's just a matter of seeing what compiles.
Most common things I find to fix are missing RegexOptions or stuff in Linq Expressions, but all have easy replacements.
发布评论
评论(1)
一般来说,最简单的方法就是尝试一下。通常将项目移植到 Android 的 MonoTouch/Mono 只需很少的时间。我已经使用 JSON.Net、TinyIoC 等其他库完成了此操作。
我建议下载源代码,将所有内容添加到新的 MonoTouch/Mono for Android 项目中,并设置
#if SILVERLIGHT
预处理器如果他们使用了您的项目中的指令。之后,只需查看编译结果即可。我发现要修复的最常见问题是缺少 RegexOptions 或 Linq 表达式中的内容,但所有这些都可以轻松替换。
Generally the easiest way is to just try it. Usually it takes very little to port a project to MonoTouch/Mono for Android. I have done this with other libraries like JSON.Net, TinyIoC, etc.
I would recommend to download the source, add everything to a new MonoTouch/Mono for Android project, and set the
#if SILVERLIGHT
preprocessor directive in your project if they use it. After that, it's just a matter of seeing what compiles.Most common things I find to fix are missing RegexOptions or stuff in Linq Expressions, but all have easy replacements.