我創造了Xamarin窗體應用程序,我會告訴與OxyPlot圖表,上運行Android和Windows Phone運行Hello世界OxyPlot,但我有一個IOS的問題。當仿真器加載的應用程序發送以下內容:Oxyplot運行Xamarin形成的iOS沒有發現裁判OxyPlot.Xamarin.iOS
{System.IO.FileNotFoundException:未能加載文件或程序集 'OxyPlot.Xamarin.iOS'}
且堆棧:
System.AppDomain .Load(assemblyRef = {OxyPlot.Xamarin.iOS,版本= 2015.1.889.0文化=中性公鑰=空},assemblySecurity =(NULL))中/用戶/助洗劑/數據/通道/ 1962/8b265d64 /源極/單/mcs/class/corlib/System/AppDomain.cs:706
它似乎並沒有提到Packete Oxyplot.xamarin.iOS,但沒有如何解決它。
我已經加入OxyPlot Xamarin形式的NuGet發佈前,在每個平臺。正如我在android和windows phone(使用visual studio)中提到的那樣工作正常。
我感謝您的關注,如果需要更多的數據敬請關注。
問候
謝謝回覆,添加的typeof和品牌我下面的錯誤: 類型「OxyPlot.Xamarin.iOS.PlotView」在未被引用考慮加入到參考集中定義組件'OxyPlot.Xamarin.iOS',版本= 2015.1.889.0,Culture = neutral,PublicKeyToken = null' – cronos1412
只需刪除所有Oxyplot包,dll等,然後添加OxyPlot.Xamarin.Forms包。 –
嗨,感謝您提供的信息,解決方案是除了Oxyplot.Xamarin.iOS.dll之外尋找並添加它作爲一個新的參考,它已經工作! – cronos1412