I got the the attached error message when tried to compile VelocityDB for android. As VelocityDB support said it really needs the data annotations.
Is the referred 'System.ComponentModel.DataAnnotations.dll' available for Android and iOS?
Thanks Jozsef
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 (stable), like the 6.3.x betas, is based on Mono 3.0 and ships with System.ComponentModel.DataAnnotations.dll
.
The same is true for the latest versions of Xamarin.Android.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With