Xamarin.Android error "Presentationframework"

Asked

Viewed 65 times

1

I have this error in my project Xamarin.android

  • Severity Code Description Project File Line Suppression State Error Exception while loading assemblies: System.IO.Filenotfoundexception: Could not load Assembly 'Presentationframework, Version=4.0.0.0, Culture=neutral, Publickeytoken=31bf3856ad364e35'. Maybe it doesn’t exist in the Mono for Android profile? File name: 'Presentationframework.dll' at Java.Interop.Tools.Cecil.Directoryassemblyresolver.Resolve(Assemblynamereference Ference, Readerparameters Parameters) at Java.Interop.Tools.Cecil.Directoryassemblyresolver.Resolve(Assemblynamereference Reference) at Xamarin.Android.Tasks.ResolveAssemblies.Addassemblyreferences(Directoryassemblyresolver resolve, icollection`1 assemblies, assemblydefinition Assembly, Boolean Toplevel) at Xamarin.Android.Tasks.ResolveAssemblies.Execute(Directoryassemblyresolver resolve) Project.New

Any idea how to solve?

  • Guii, it is difficult to get an answer if you do not indicate when this error started to happen or provide part of the code you think may be generating this error.

  • occurred after q I took the project from another folder type I copied it to another location.

1 answer

1


I was able to fix by adding the reference folder "Program Files Reference Assemblies Microsoft Framework.Netframework 'VERSION' DLL Name'".

Browser other questions tagged

You are not signed in. Login or sign up in order to post.