[MonoTouch] Weird error using btouch

Alex Soto dxdream at gmail.com
Thu Dec 8 15:09:49 EST 2011


I guess the problem is actually that the interface has the same name as the file and that causes the issue, as the temporary classes generated during the process causes conflicts, the solution to this issue is simple ;) just rename the file to something other than whatever the interfaces you are defining are named.

Alex


On Dec 8, 2011, at 1:55 PM, Josh Handel wrote:

> I am trying to bind Flurry analytics.. (to the new version).. it worked once, but there was an error in my bindings.. I fixed the error in my interface but now I get the following error when I try to create new binding assemblies..
> 
> /Developer/MonoTouch/usr/bin/btouch FlurryAnalytics.cs
> /var/folders/nb/24vnyg954j36lxgg_hc5n3kc0000gn/T/5eku0c10.hmz/Flurry/FlurryAnalytics.g.cs(302,41): error CS0117: `Flurry.FlurryAnalytics' does not contain a definition for `Messaging'
> /var/folders/nb/24vnyg954j36lxgg_hc5n3kc0000gn/T/5eku0c10.hmz/Flurry/FlurryAnalytics.g.cs(44,30): (Location of the symbol related to previous error)
> Compilation failed: 1 error(s), 0 warnings
> btouch: API binding contains errors.
> 
> anyone have suggestions? I would be happy to share my bindings if thats helpful (actually I'll probably share them on github regardless once they are working.. I've done the same with MonoDroid using the JNI stuff and those work great :-).
> 
> Thanks
> 
> Josh Handel
> 
> Mobile Architect
> 
> 512.328.8181 | Main
> 
> 512.328.0584 | Fax
> 
> 512.577-6568 | Cell
> 
> www.catapultsystems.com
> 
>  
> CATAPULT SYSTEMS INC.
> 
> THE MICROSOFT CONSULTING COMPANY
> 
> _______________________________________________
> MonoTouch mailing list
> MonoTouch at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monotouch

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monotouch/attachments/20111208/a8bdb0e7/attachment-0001.html 


More information about the MonoTouch mailing list