jsmarcus / Xamarin.Plugins

Cross platform Xamarin and Windows controls and plugins
MIT License
195 stars 81 forks source link

System.IO.FileNotFoundException #87

Open acaliaro opened 6 years ago

acaliaro commented 6 years ago

I have used your packages in some projects. Today I have tried to add the plugin to a XamarinForms / Android prj, and I receive this when I build the prj. There is some solution? Thanks

/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(2,2): Error: Exception while loading assemblies: System.IO.FileNotFoundException: Could not load assembly 'Plugin.Iconize.Droid, Version=1.5.0.13, Culture=neutral, PublicKeyToken='. Perhaps it doesn't exist in the Mono for Android profile? File name: 'Plugin.Iconize.Droid.dll' at Java.Interop.Tools.Cecil.DirectoryAssemblyResolver.Resolve (Mono.Cecil.AssemblyNameReference reference, Mono.Cecil.ReaderParameters parameters) [0x00099] in /Users/builder/data/lanes/4986/28510831/source/xamarin-android/external/Java.Interop/src/Java.Interop.Tools.Cecil/Java.Interop.Tools.Cecil/DirectoryAssemblyResolver.cs:225 at Java.Interop.Tools.Cecil.DirectoryAssemblyResolver.Resolve (Mono.Cecil.AssemblyNameReference reference) [0x00000] in /Users/builder/data/lanes/4986/28510831/source/xamarin-android/external/Java.Interop/src/Java.Interop.Tools.Cecil/Java.Interop.Tools.Cecil/DirectoryAssemblyResolver.cs:175 at Xamarin.Android.Tasks.ResolveAssemblies.AddAssemblyReferences (Java.Interop.Tools.Cecil.DirectoryAssemblyResolver resolver, System.Collections.Generic.ICollection`1[T] assemblies, Mono.Cecil.AssemblyDefinition assembly, System.Boolean topLevel) [0x0015c] in <7f8f41ce59254afda8c887041bd5a240>:0 at Xamarin.Android.Tasks.ResolveAssemblies.Execute (Java.Interop.Tools.Cecil.DirectoryAssemblyResolver resolver) [0x0019c] in <7f8f41ce59254afda8c887041bd5a240>:0 (Fev-ricevimento.Droid)

ChrisProlls commented 6 years ago

@acaliaro Same as me : have you any solution ?

acaliaro commented 6 years ago

@ChrisProlls I don't remember if I have solved the problem... try to clean bin and obj folders and remove all packages from "packages" folder... try to reload the solution...

ChrisProlls commented 6 years ago

Cleaning the 'packages' folder solved the issue for me, thanks :)