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



更新到此版本的xamarin.ios时,出现另一个错误,我已通过使用Rolf提供的命令行工具更新dlls 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

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

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

相关内容

最新更新