We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

error XA2002: Can not resolve reference: `Xamarin.Forms.Core`, referenced by `Syncfusion.Core.XForms.Android`.

I am getting a build error with 17.2.0.40 that says : error XA2002: Can not resolve reference: `Xamarin.Forms.Core`, referenced by `Syncfusion.Core.XForms.Android`. This is not a forms-based app -- we are using Xamarin.Android and Xamarin.iOS and neither of the previously mentioned packages is included.

/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(1930,2): error XA2002: Can not resolve reference: `Xamarin.Forms.Core`, referenced by `Syncfusion.Core.XForms.Android`. Please add a NuGet package or assembly reference for `Xamarin.Forms.Core`, or remove the reference to `Syncfusion.Core.XForms.Android`. [/Users/jenk.svc/jenkins-macos-build-2/workspace/FS-Android/FSM/FSM.Droid/FSM.Droid.Framework.csproj]
  /Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(1930,2): error XA2002: Can not resolve reference: `Xamarin.Forms.Core`, referenced by `Syncfusion.Core.XForms`. Please add a NuGet package or assembly reference for `Xamarin.Forms.Core`, or remove the reference to `Syncfusion.Core.XForms`. [/Users/jenk.svc/jenkins-macos-build-2/workspace/FS-Android/FSM/FSM.Droid/FSM.Droid.Framework.csproj]

Any guidance is appreciated.

Rob

1 Reply

VR Vignesh Ramesh Syncfusion Team August 12, 2019 07:52 AM UTC

Hi Rob, 

Greetings from Syncfusion. 

We have analyzed the provided error log and we suspect that this issue occurred due to you have installed Syncfusion Xamarin.Forms components NuGet. We would like to inform you that for Native Xamarin component, you need to install native Xamarin NuGet. 

To add circular gauge to your project, open the NuGet package manager in Visual Studio, and search for “Syncfusion.Xamarin.SfGauge.Android”, and then install it. 

 

Please find the simple circular gauge sample from the below link 

For more information, please refer the below User Guide link. 

Regards, 
Vignesh. 


Loader.
Live Chat Icon For mobile
Up arrow icon