xamarin.forms - 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 的最新版本。
解决方案
推荐阅读
- c++ - How I can stop the " while loop " if the user enter number <0?
- bash - 在同一行中查找两个字符串,然后使用 sed 替换
- kubernetes - Windows 10 Enterprise 和 Hyper-V 中的 Minikube
- java - 如何使用 log4j 为 PubNub 禁用 okhttp3.internal.platform.Platform.log?
- node.js - Google Cloud Task Queue RateLimits 配置被忽略
- python - colaboratory 在安装和导入后不会承认 arviz
- reactjs - 为什么我不能在 4 行网格的最后一个框中输入
- laravel - 在 Laravel Vapor 上管理排队作业/数据库连接/性能
- javascript - 如何从路由函数外部获取 Nodejs 响应对象?
- c++ - C++ std::string 语法“new (&y) std::string(x);”