【发布时间】:2016-05-20 10:46:30
【问题描述】:
我正在尝试在我的共享 Xamarin.Forms 项目中使用 OxyPlot.Xamarin.Forms 包。我在便携式和平台特定 (Android) 项目中添加了带有 NuGet 包管理器的 OxyPlot 包,如下所述:
http://docs.oxyplot.org/en/latest/getting-started/hello-xamarin-forms.html
然后我在 Android 项目中初始化了 OxyPlot 渲染器。现在,当我尝试启动应用程序时,会生成 Resource.Designer.cs 文件,但我收到了数百个类似这样的错误:
Error CS0117 'Resource.Attribute' does not contain a definition for 'mediaRouteSettingsDrawable' OxyPlotShared.Droid \OxyPlotShared\OxyPlotShared.Droid\Resources\Resource.Designer.cs
我使用 Xamarin.Forms v2.2.0.31 和版本 1.0.0-unstable1983 中的所有 OxyPlot 包。
我错过了什么吗?
【问题讨论】:
标签: c# android charts xamarin.forms oxyplot