c# - MonoTouch/MonoDevelop: when setting project to target iPhone device assemblies end up missing? -
i'm running monodevelop monotouch , trying target device (i.e. debug|iphone) when building code. when compiler throws bunch of errors referring missing assemblies.
if build target simulator these errors don't show up, know have assemblies included , ide 'sees' assemblies , autocompletes namespaces in these assemblies type them out.
any ideas causing it? i've tried fresh rebuilds...
i updated trial version of monotouch if makes difference.
here of errors (they're sort of error):
/users/ahmedhakeem/documents/projects/ios/mycode/engine/util/ui/menuobj.cs(31,31): error cs0234: type or namespace name `audio' not exist in namespace `microsoft.xna.framework'. missing assembly reference? (cs0234) (engine-monotouch) /users/ahmedhakeem/documents/projects/ios/mycode/engine/util/ui/menuobj.cs(31,31): error cs0234: type or namespace name `media' not exist in namespace `microsoft.xna.framework'. missing assembly reference? (cs0234) (engine-monotouch) /users/ahmedhakeem/documents/projects/ios/mycode/engine/jabject.cs(40,40): error cs0246: type or namespace name `contentmanager' not found. missing using directive or assembly reference? (cs0246) (engine-monotouch) /users/ahmedhakeem/documents/projects/ios/mycode/engine/media/sprite.cs(31,31): error cs0234: type or namespace name `audio' not exist in namespace `microsoft.xna.framework'. missing assembly reference? (cs0234) (engine-monotouch) /users/ahmedhakeem/documents/projects/ios/mycode/engine/scene/gamescene.cs(42,42): error cs0246: type or namespace name `contentmanager' not found. missing using directive or assembly reference? (cs0246) (engine-monotouch)
if you're using mt 4.x there races when assemblies compiled native code. errors description looks compiling managed code (and that's not done in parallel there should not race condition affecting part of build).
that make (sometimes) skip assembly @ link time, leading (hard reproduce) build errors. fixed in next release of monotouch.
this never happens on simulator since there's no aot (compile native) occurring in case (i.e. jit used).
Comments
Post a Comment