Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
Error 1 Exception while loading assemblies: System.IO.FileNotFoundException: Could not load assembly 'Xamarin.Forms.Core, Version=18.104.22.168, Culture=neutral, PublicKeyToken='. Perhaps it doesn't exist in the Mono for Android profile?
File name: 'Xamarin.Forms.Core.dll'
at Xamarin.Android.Tuner.DirectoryAssemblyResolver.Resolve(AssemblyNameReference reference, ReaderParameters parameters)
at Xamarin.Android.Tasks.ResolveAssemblies.AddAssemblyReferences(ICollection`1 assemblies, AssemblyDefinition assembly, Boolean topLevel)
couldn't find what's wrong , can you please help me what am doing wrong or should i add any references to clear this exception.
I suspect that your project is referencing the Xamarin.Forms NuGet package, but you haven't downloaded that package yet (fresh git checkout?).
Created attachment 10592 [details]
am referring a PCL project as a dependency to the Xamarin.Android project. Other than that am not referring any Xamarin packages, is there any way i can rectify it.
FYI when i tried to install the Xamarin.Forms nuget packages am getting exceptions which i have attached.
It looks like your NuGet package manager is too old to recognise MonoAndroid as a target framework. Try updating it. You can update it by going to Tools - Extensions and Updates, select Updates, then select Visual Studio Gallery. The NuGet Package Manager should be there so select it and click the Update button.
After that you should be able to install Xamarin.Forms into an Android project.
Thanks matt, it worked.