I am getting the following error when trying to compile my Android App from Visual Studio (I am using Xamarin plug in).
Error 2 Exception while loading assemblies: System.IO.FileNotFoundException: Could not load assembly 'PresentationUI, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. Perhaps it doesn't exist in the Mono for Android profile?
File name: 'PresentationUI.dll' at Xamarin.Android.Tuner.DirectoryAssemblyResolver.Resolve(AssemblyNameReference
reference, ReaderParameters parameters) at Xamarin.Android.Tasks.ResolveAssemblies.AddAssemblyReferences(List`1
assemblies, AssemblyDefinition assembly, Boolean topLevel) at Xamarin.Android.Tasks.ResolveAssemblies.AddAssemblyReferences(List`1
assemblies, AssemblyDefinition assembly, Boolean topLevel) at Xamarin.Android.Tasks.ResolveAssemblies.Execute()
I had a look around and found this forum post which looks like a similar problem. I couldn't find the PresentationUI.dll assembly tho.
Any suggestion on why am I getting this error and how to fix it?
Update
I found that the problem actually comes from using DelegateCommand from Microsoft.Practices.Prism.dll Is it because this assembly is not supported by Xamarin?
Cheers,