Xamarin.Plugins icon indicating copy to clipboard operation
Xamarin.Plugins copied to clipboard

System.IO.FileNotFoundException

Open acaliaro opened this issue 8 years ago • 3 comments

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)

acaliaro avatar Sep 27 '17 15:09 acaliaro

@acaliaro Same as me : have you any solution ?

ChrisProlls avatar Dec 26 '17 18:12 ChrisProlls

@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...

acaliaro avatar Dec 26 '17 21:12 acaliaro

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

ChrisProlls avatar Jan 02 '18 12:01 ChrisProlls