Xamarin Microcharts 错误:命名空间“Microcharts”中不存在类型或命名空间名称“Entry”

问题描述

我尝试从 microcharts 显示图表,但收到此错误

/Users/pizhev/Documents/WeatherLocationInfo 1.6.8/WeatherLocationInfo/MainPage.xaml.cs(27,27): Error CS0234: The type or namespace name 'Entry' does not exist in the namespace 'microcharts' (are you missing an assembly reference?) (CS0234) (WeatherLocationInfo)

Xamarin Microcharts error

关闭了这个链接Tutorial,两个月前这个方法效果很好。

所以当我尝试改变时:

using Entry = microcharts.Entry;

using Entry = microcharts.ChartEntry;

我收到很多这样的错误

/Users/pizhev/Documents/WeatherLocationInfo 1.6.8/WeatherLocationInfo/MainPage.xaml.cs(243,243): Error CS1503: Argument 2: cannot convert from 'Xamarin.Forms.Entry' to 'microcharts.ChartEntry' (CS1503) (WeatherLocationInfo)

还有这个:

/Users/pizhev/Documents/WeatherLocationInfo 1.6.8/WeatherLocationInfo/MainPage.xaml.cs(44,44): Error CS1061: 'ChartEntry' does not contain a deFinition for 'Text' and no accessible extension method 'Text' accepting a first argument of type 'ChartEntry' Could be found (are you missing a using directive or an assembly reference?) (CS1061) (WeatherLocationInfo)

Microcharts errors

那么 microcharts 中发生了什么变化,我该如何修复这些错误

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)