“System.ComponentModel.DataAnnotations.dll”可用于Android和iOS? [英] 'System.ComponentModel.DataAnnotations.dll' available for Android and iOS?

查看:292
本文介绍了“System.ComponentModel.DataAnnotations.dll”可用于Android和iOS?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我得到了附加的错误消息,当试图编译VelocityDB为Android。正如VelocityDB支持表示,真正需要的数据的注解。

I got the the attached error message when tried to compile VelocityDB for android. As VelocityDB support said it really needs the data annotations.

时所提到的System.ComponentModel.DataAnnotations.dll可用于Android和iOS?

Is the referred 'System.ComponentModel.DataAnnotations.dll' available for Android and iOS?

感谢约瑟夫

错误信息: 错误1异常,而装载程序集的信息:System.IO.FileNotFoundException:无法加载程序集System.ComponentModel.DataAnnotations,版本= 4.0.0.0,文化=中性公钥= 31bf3856ad364e35也许它在单不存在。 Android的个人资料? 文件名:System.ComponentModel.DataAnnotations.dll    在Monodroid.Tuner.MonoDroidResolver.Resolve(AssemblyNameReference参考,ReaderParameters参数)    在Xamarin.Android.Tasks.ResolveAssemblies.AddAssemblyReferences(List`1组件,AssemblyDefinition组装)    在Xamarin.Android.Tasks.ResolveAssemblies.Execute()

Error message: "Error 1 Exception while loading assemblies: System.IO.FileNotFoundException: Could not load assembly 'System.ComponentModel.DataAnnotations, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. Perhaps it doesn't exist in the Mono for Android profile? File name: 'System.ComponentModel.DataAnnotations.dll' at Monodroid.Tuner.MonoDroidResolver.Resolve(AssemblyNameReference reference, ReaderParameters parameters) at Xamarin.Android.Tasks.ResolveAssemblies.AddAssemblyReferences(List`1 assemblies, AssemblyDefinition assembly) at Xamarin.Android.Tasks.ResolveAssemblies.Execute()"

推荐答案

Xamarin.iOS 6.4.x(稳定),喜欢的6.3.x的测试版,是基于单声道3.0和船舶与系统。 ComponentModel.DataAnnotations.dll

Xamarin.iOS 6.4.x (stable), like the 6.3.x betas, is based on Mono 3.0 and ships with System.ComponentModel.DataAnnotations.dll.

也是如此对于Xamarin.Android的最新版本。

The same is true for the latest versions of Xamarin.Android.

这篇关于“System.ComponentModel.DataAnnotations.dll”可用于Android和iOS?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆