Hal*_*ard 3 xamarin.ios xamarin-studio
我拥有Xamarin 的Indie许可证,因此我可以用我最熟练的编程语言C#开发iPhone/iPad应用程序.有了这个许可证,我无法使用Visual StudioXamarin 的插件.我还是喜欢Visual Studio到Xamarin Studio,所以我仍然在开发Visual Studio任何代码不需要MonoTouch引用,然后只需手动将DLL复制到Xamarin Studio.
我有一个程序集.Net framework 4.5,当我尝试调试我的应用程序时收到以下错误消息:
加载程序集:/Users/EdGriMac/Dropbox/Quiz/Newtonsoft.Json.dll [外部] 2013-09-23 20:30:38.021 Exam936 [2228:c07]无法加载'Newtonsoft.Json'进行注册:System.Reflection .ReflectionTypeLoadException:无法加载模块中的类.at(包装器托管到本机)System.Reflection.Assembly:GetTypes(System.Reflection.Assembly,bool)在/ Developer/MonoTouch/Source/mono/mcs /中的System.Reflection.Assembly.GetTypes()[0x00000]在/Developer/MonoTouch/Source/monotouch/src/ObjCRuntime/OldDynamicRegistrar.cs中的MonoTouch.Registrar.OldDynamicRegistrar.RegisterAssembly(System.Reflection.Assembly a)[0x00000]中的class/corlib/System.Reflection/Assembly.cs:351: 67 2013-09-23 20:30:38.023 Exam936 [2228:c07]这可能是由于模拟器保留了过时的装配,位置:
我的尝试:
首先想到的是NewtonSoft.JsonMonoTouch无法使用,但我不知道如何找到它.有没有办法确定是否可以使用第三方dll?
我的第二个想法是,NewtonSoft.Json另一个组件可以使用较旧或较新版本.然而,这不是一个大型项目,我使用的唯一其他程序集Json是RestSharp,但我认为不会使用NewtonSoft.Json.我查看了网页上的GitHub页面,但无法找到参考.
我google了一下,发现这篇文章说(有点下)MonoTouch.Registrar.OldDynamicRegistrar.RegisterAssembly表示(引用:) I can't build the app using the build flags --registrar:olddynamic. If I remove that, it now works, I can now link and it appears to be working.. 这可能是Visual Studio你可以调整的设置Business license.我不知道如何在没有这些旗帜的情况下建造.
我正在尝试做什么?如果是,我该怎么办?
提前致谢!
| 归档时间: |
|
| 查看次数: |
2834 次 |
| 最近记录: |