我已将Xamarin.ios更新为6.4.1.1,然后应用程序在Mac上出错

时间:2013-08-06 11:03:55

标签: xamarin.ios

当更新到此版本的xamarin.ios时,我通过使用Rolf提供的命令行工具更新dll Facebook.dllflurry.dll,解决了另一个错误。现在应用程序提供以下错误。请提供一些有关此问题的解决方案,并且还想知道如何更新框架的dll。 monotouch.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

1 个答案:

答案 0 :(得分:1)

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

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