Hi Kris, 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 --tmpdir=ios 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! Jeff On Thu, Sep 29, 2011 at 7:27 PM, Kris Owens <[email protected]> wrote: > Hi - I've been hitting this exact same bug: > https://bugzilla.novell.com/show_bug.cgi?id=662903 > > 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 > this. > > Any help would be appreciated > > Thanks > Kris > > _______________________________________________ > MonoTouch mailing list > [email protected] > http://lists.ximian.com/mailman/listinfo/monotouch > >
_______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
