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
close icon

Observable Collection error after upgrade

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
   






1 Reply

BK Bharathiraja K Syncfusion Team 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.  


Loader.
Live Chat Icon For mobile
Up arrow icon