ColorThief icon indicating copy to clipboard operation
ColorThief copied to clipboard

Exception while loading assemblies: System.IO.FileNotFoundException: Could not load assembly 'ColorThief.Forms, Version=1.1.0.1, Culture=neutral, PublicKeyToken='. Perhaps it doesn't exist in the Mono for Android profile? File name: 'ColorThief.Forms.dll'

Open AmirHossein484 opened this issue 6 years ago • 5 comments

Hi, I get this error in Xamarin.Forms 3 .net Standard 2 project, What should I do?

Severity Code Description Project File Line Suppression State Error Exception while loading assemblies: System.IO.FileNotFoundException: Could not load assembly 'ColorThief.Forms, Version=1.1.0.1, Culture=neutral, PublicKeyToken='. Perhaps it doesn't exist in the Mono for Android profile? File name: 'ColorThief.Forms.dll' at Java.Interop.Tools.Cecil.DirectoryAssemblyResolver.Resolve(AssemblyNameReference reference, ReaderParameters parameters) at Xamarin.Android.Tasks.ResolveAssemblies.AddAssemblyReferences(DirectoryAssemblyResolver resolver, ICollection`1 assemblies, AssemblyDefinition assembly, Boolean topLevel) at Xamarin.Android.Tasks.ResolveAssemblies.Execute(DirectoryAssemblyResolver resolver) ColorThiefDemo.Android

AmirHossein484 avatar Jul 28 '18 13:07 AmirHossein484

Hi, I will check

KSemenenko avatar Jul 28 '18 13:07 KSemenenko

Thank, I'll be waiting

AmirHossein484 avatar Jul 28 '18 14:07 AmirHossein484

Hi, Sorry, Do you think that it takes too long to do this?

AmirHossein484 avatar Jul 30 '18 20:07 AmirHossein484

in general, I need to update the project so that it uses the .net standard

KSemenenko avatar Jul 31 '18 15:07 KSemenenko

@AmirHossein484 well, or you can just use my code in your project. it will be faster.

KSemenenko avatar Jul 31 '18 15:07 KSemenenko