Error when adding the PCLCrypto.dll file to a Xamarin Android project


Error 4 Exception while loading assemblies: System.IO.FileNotFoundException: Could not load assembly 'Validation, Version=, Culture=neutral, PublicKeyToken=2fc06f0d701809a7'. Perhaps it doesn't exist in the Mono for Android profile?
File name: 'Validation.dll'
at Xamarin.Android.Tuner.DirectoryAssemblyResolver.Resolve(AssemblyNameReference reference, ReaderParameters parameters)
at Xamarin.Android.Tasks.ResolveAssemblies.AddAssemblyReferences(ICollection`1 assemblies, AssemblyDefinition assembly, Boolean topLevel)
at Xamarin.Android.Tasks.ResolveAssemblies.Execute() View
Closed Apr 24, 2015 at 1:59 PM by AArnott


AArnott wrote Apr 24, 2015 at 1:59 PM

The codeplex project is dead.

Validation comes from a nuget package, which certainly does exist and does support those platforms. So I suggest you look more into your particular project. Perhaps your nuget package installation was aborted midway somehow. Try installing the Validation package explicitly.

AArnott wrote Apr 24, 2015 at 2:00 PM

BTW, the living project is over at http://github.com/aarnott/pclcrypto