Reputation: 304
I just installed Visual Studio 2017 RC to try out some of the new features like Xamarin Form Previewer. But i am not able to build the Xamarin Forms Project Created using the project template. Getting the below error.
Severity Code Description Project File Line Suppression State Error Exception while loading assemblies: System.IO.FileNotFoundException: Could not load assembly 'Xamarin.Android.Support.v7.RecyclerView, Version=1.0.0.0, Culture=neutral, PublicKeyToken='. Perhaps it doesn't exist in the Mono for Android profile? File name: 'Xamarin.Android.Support.v7.RecyclerView.dll' at Java.Interop.Tools.Cecil.DirectoryAssemblyResolver.Resolve(AssemblyNameReference reference, ReaderParameters parameters) at Xamarin.Android.Tasks.ResolveAssemblies.AddAssemblyReferences(DirectoryAssemblyResolver resolver, ICollection`1 assemblies, AssemblyDefinition assembly, Boolean topLevel) at Xamarin.Android.Tasks.ResolveAssemblies.Execute(DirectoryAssemblyResolver resolver) App1.Droid
Thank you in advance
Upvotes: 2
Views: 761
Reputation: 2560
this worked for me too: in short remove all the nuget packages and reinstall Xamarin.Forms, it will reinstall the missing package too
Upvotes: 1