Forum Xamarin.Android

how to know if mono.android.dll is up to date

jddjdd USMember ✭✭✭

Hello,

Is my mono.android.dll up to date ?
see the picture attached.

I get the following error:
Exception while loading assemblies: System.IO.FileNotFoundException: Could not load assembly 'System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Perhaps it doesn't exist in the Mono for Android profile?
Nom de fichier : 'System.Drawing.dll'
à Xamarin.Android.Tuner.DirectoryAssemblyResolver.Resolve(AssemblyNameReference reference, ReaderParameters parameters)
à Xamarin.Android.Tasks.ResolveAssemblies.AddAssemblyReferences(ICollection`1 assemblies, AssemblyDefinition assembly, Boolean topLevel)
à Xamarin.Android.Tasks.ResolveAssemblies.Execute() Almicantarat.Droid

I don't know what to do for many days.
I can't compile and test my project.

Xamarin just doesn't work...

Posts

  • jddjdd USMember ✭✭✭

    How to solve the following error:
    System.IO.FileNotFoundException: Could not load assembly 'System.Drawing, Version=2.0.0.0

    -> Close the solution
    -> Delete all contents of the Packages folder (all the DLL's referenced through Nuget)
    -> Restart the solution
    -> Build (this will cause Nuget to get all DLL's again based on the packages.config)

  • DnyaneshwarDnyaneshwar USMember ✭✭

    @jdd tried above solution but still getting following error.
    Error Exception while loading assemblies: System.IO.FileNotFoundException: Could not load assembly 'System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Perhaps it doesn't exist in the Mono for Android profile?
    File name: 'System.Drawing.dll'

Sign In or Register to comment.