0

をこのバージョンに更新すると、Rolf が提供するコマンド ライン ツールを使用してxamarin.iosdlls を更新することで解決した別のエラーがありました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

4

1 に答える 1

1

私のツールを使用してすべての参照を更新していないようです (monotouch.dll などのプラットフォーム アセンブリは更新しないでください。独自のアセンブリまたは他のサードパーティのアセンブリのみを更新する必要があります)。

エラーが発生する行は、更新を忘れたこの dll の API を使用している可能性があります。

于 2013-08-06T11:15:16.560 に答える