如何解决Xamarin Microcharts 错误:命名空间“Microcharts”中不存在类型或命名空间名称“Entry”
/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)
我关闭了这个链接: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 中发生了什么变化,我该如何修复这些错误?
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。