Xamarin.Android error "PresentationFramework"

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 does not exist in the Mono for Android profile? File name: 'PresentationFramework.dll' at Java.Interop.Tools.Cecil.DirectoryAssemblyResolver.Resolve (AssemblyNameReference reference, ReaderParameters parameters) at Java.Interop.Tools.Cecil.DirectoryAssemblyResolver.Resolve (AssemblyNameReference reference) at Xamarin.Android.Tasks.ResolveAssemblies.AddAssemblyReferences (DirectoryAssemblyResolver solve, ICollection'1 assemblies, AssemblyDefinition assembly, Boolean topLevel) at Xamarin.Android.Tasks.ResolveAssemblies.Execute (DirectoryAssemblyResolver resolve) Project.New

Any ideas how to solve it?

    
asked by anonymous 26.07.2017 / 20:38

1 answer

1

I was able to fix it by adding the reference to the "Program Files \ Reference \ Microsoft \ Framework \ Framework \ Version \ DLL \" folder.     

26.07.2017 / 21:30