Xamarin.Forms iOS版本无法解析参考“ System.Drawing.RectangleF”

时间:2019-12-12 10:30:01

标签: xamarin.forms xamarin.ios

构建Xamarin.Form.iOS时出现此错误

Can't resolve the reference 'System.Drawing.RectangleF', referenced from the method 'System.Void Xamarin.Forms.Platform.iOS.VisualElementTracker/<>c__DisplayClass29_0::<OnUpdateNativeControl>g__update|0()' in 'System.Drawing.Common, Version=4.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.

这是在输出中

Launch failed. The app 'MyApp.iOS' could not be launched on 'iPhone 6 iOS 12.0'. Error: error MT1008: Failed to launch the simulator: Could not find file "/Users/imac-nas01/Library/Caches/Xamarin/mtbs/builds/...

我不知道如何解决,我使用的是Xamarin Form和VS2017的最新版本。

0 个答案:

没有答案