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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

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

Thread ID:

Created:

Updated:

Platform:

Replies:

146604 Aug 9,2019 08:06 PM UTC Aug 12,2019 07:52 AM UTC Xamarin.Android 1
loading
Tags: SfCircularGauge
Rob Banker
Asked On August 9, 2019 08:06 PM UTC

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

Vignesh Ramesh [Syncfusion]
Replied On 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. 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon