0

当更新到这个版本时,我通过使用 Rolf 提供的命令行工具xamarin.ios更新 dlls 解决了另一个错误。现在应用程序给出以下错误。请为此提供一些解决方案,并且还想知道如何更新框架的 dll,例如。Facebook.dllflurry.dllmonotouch.dll

错误是,1)/Users/volgainfotech/Projects/ScrapBoom/Kiln/ScrapBoom-Stable/ScrapBoom.iPhone/ScrapBoom.iPhone/Screens/iPhone/AddDocument/ImageCroppingScreen.cs(38,38): Error CS0012: The type System.Drawing.Size' is defined in an assembly that is not referenced. Consider adding a reference to assembly monotouch, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' (CS0012) (ScrapBoom.iPhone)

2)/Users/volgainfotech/Projects/ScrapBoom/Kiln/ScrapBoom-Stable/ScrapBoom.iPhone/ScrapBoom.iPhone/Screens/iPhone/AddDocument/ImageCroppingScreen.cs(14,14): Error CS0012: The type System.Drawing.PointF' is defined in an assembly that is not referenced. Consider adding a reference to assembly monotouch, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' (CS0012) (ScrapBoom.iPhone)

3)/Users/volgainfotech/Projects/ScrapBoom/Kiln/ScrapBoom-Stable/ScrapBoom.iPhone/ScrapBoom.iPhone/Screens/iPhone/AddDocument/ImageCroppingScreen.cs(30,30): Error CS0012: The type MonoTouch.UIKit.UIImage' is defined in an assembly that is not referenced. Consider adding a reference to assembly monotouch, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' (CS0012) (ScrapBoom.iPhone)

我也参考了这个论坛, http ://forums.xamarin.com/discussion/1475/changes-to-assembly-strongnames-in-xamarin-ios-6-2-0

4

1 回答 1

1

看起来您没有使用我的工具更新所有引用(请注意,您不应更新诸如 monotouch.dll 之类的平台程序集,而应仅更新您自己的或其他第三方程序集)。

发生错误的行可能使用了您忘记更新的此 dll 中的 API。

于 2013-08-06T11:15:16.560 回答