[MonoTouch] Still repro bug 662903
jeff at xamarin.com
Thu Oct 6 18:21:34 EDT 2011
Sorry for the delayed response. It looks like you are including that partial
class implementation in your btouch command-line. I'll have to look over the
docs as they may need to make this clearer, but as far as I know, if you are
going to supplement the binding with partial classes/methods, you need to
have btouch generate sources like this:
mkdir -p ios && /Developer/MonoTouch/usr/bin/btouch cocos2d.cs enums.cs
and then use /Developer/MonoTouch/usr/bin/smcs to compile the iOS assembly,
feeding it the *.cs files generated in ios/, enums.cs, and your .cs files
where you implemented any partial classes.
Some good examples of this is in http://github.com/mono/monotouch-bindings
Hope that helps!
On Thu, Sep 29, 2011 at 7:27 PM, Kris Owens <krisow at startcom.com> wrote:
> Hi - I've been hitting this exact same bug:
> I tried the demo code shown at
> http://ios.xamarin.com/Documentation/Binding_New_Objective-C_Types, and I
> get the same error: "Missing partial modifier on declaration of type
> `Cocos2D.Camera'. Another partial declaration of this type exists"
> I'm running Monotouch 4.2.2. The bug says this was fixed in btouch 3.2 - is
> btouch updated separately from Monotouch? I couldn't find any information on
> Any help would be appreciated
> MonoTouch mailing list
> MonoTouch at lists.ximian.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the MonoTouch