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

Observable Collection error after upgrade

Thread ID:

Created:

Updated:

Platform:

Replies:

147847 Sep 25,2019 03:39 PM UTC Sep 26,2019 10:22 AM UTC Xamarin.Forms 1
loading
Tags: SfLinearGauge
LEO
Asked On September 25, 2019 03:41 PM UTC

Hello,

After the upgrad from 16.4.0.54 to 17.2.0.51 I've got this error message:

Gravidade Código Descrição Projeto Arquivo Linha Estado de Supressão
Erro CS0012 O tipo "ObservableCollection<>" está definido em um assembly que não é referenciado. Você deve adicionar uma referência ao assembly "netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51". seller C:\dev\vsts.napisapp\Pages\OrderItemListPage.xaml.cs 44 Ativo

Please see the code bellow, I need some help.

                SfLinearGauge linearGauge = new SfLinearGauge();
                LinearScale linearScale = new LinearScale();
                linearScale.ScaleBarColor = Color.FromHex("#e0e0e0");
                linearScale.LabelColor = Color.FromHex("#424242");
                linearGauge.Scales.Add(linearScale);// error in this line
   






Bharathiraja K [Syncfusion]
Replied On September 26, 2019 10:22 AM UTC

Hi Leo, 
 
Greetings from Syncfusion. We have upgraded our source project to .NetStandard 2.0 from the release version 17.2.0.28. So we suggest you to upgrade your application project to .NetStandard 2.0 to avoid this issue. 
 
 
Regards, 
Bharathi.  


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