[Mono-bugs] [Bug 593605] New: Can't use btouch when the interface is the same name as the source file.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Apr 3 17:56:05 EDT 2010


http://bugzilla.novell.com/show_bug.cgi?id=593605

http://bugzilla.novell.com/show_bug.cgi?id=593605#c0


           Summary: Can't use btouch when the interface is the same name
                    as the source file.
    Classification: Mono
           Product: MonoTouch
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Tools
        AssignedTo: gnorton at novell.com
        ReportedBy: chrisntr at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Created an attachment (id=352340)
 --> (http://bugzilla.novell.com/attachment.cgi?id=352340)
Here is the source file I am using.

User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-GB;
rv:1.9.2.2) Gecko/20100316 Firefox/3.6.2

Trying to bind a file called "FlurryAPI.cs" which happens to be using the
interface name of "FlurryAPI". 

Running ->
/Developer/MonoTouch/usr/bin/btouch FlurryAPI.cs

brings back ->

/var/folders/SA/SAYnNjXKFrijMLHvLkela++++TI/-Tmp-/j5r71zkk.s9s/Binding/FlurryAPI.g.cs(45,76):
error CS0117: `MonoTouch.Binding.FlurryAPI' does not contain a definition for
`Messaging'
/var/folders/SA/SAYnNjXKFrijMLHvLkela++++TI/-Tmp-/j5r71zkk.s9s/Binding/FlurryAPI.g.cs(28,30):
(Location of the symbol related to previous error)
/var/folders/SA/SAYnNjXKFrijMLHvLkela++++TI/-Tmp-/j5r71zkk.s9s/Binding/FlurryAPI.g.cs(56,76):
error CS0117: `MonoTouch.Binding.FlurryAPI' does not contain a definition for
`Messaging'
/var/folders/SA/SAYnNjXKFrijMLHvLkela++++TI/-Tmp-/j5r71zkk.s9s/Binding/FlurryAPI.g.cs(28,30):
(Location of the symbol related to previous error)
Compilation failed: 2 error(s), 0 warnings
btouch: API binding contains errors.

Changing the source file from "FlurryAPI.cs" to anything else - such as
"FlurryAPI2.cs" fixes the problem.

Cheers.

Reproducible: Always

Steps to Reproduce:
1. See details.
2.
3.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list