首页 > 解决方案 > Xamarin.Forms iOS 构建无法解析引用“System.Drawing.RectangleF”

问题描述

为 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 的最新版本。

标签: xamarin.formsxamarin.ios

解决方案


推荐阅读