[Mono-osx] bmac.exe error

timgunn t.gunn at me.com
Thu Jan 3 01:11:56 UTC 2013


I'm getting the following error(s) while trying to create an extremely simple
binding using bmac.

bash$ mono bmac.exe TestFramework.cs 
/var/folders/wd/qwfjnn612tjgdn15jxfrlw480000gn/T/le3eh05e.7wp/ObjCRuntime/Messaging.g.cs(9,14):
error CS0234: The type or namespace name `Drawing' does not exist in the
namespace `System'. Are you missing `System.Drawing' assembly reference?
/var/folders/wd/qwfjnn612tjgdn15jxfrlw480000gn/T/le3eh05e.7wp/TestFramework/TestFramework.g.cs(9,14):
error CS0234: The type or namespace name `Drawing' does not exist in the
namespace `System'. Are you missing `System.Drawing' assembly reference?
Compilation failed: 2 error(s), 0 warnings
bmac: API binding contains errors.

This was just a simple test to get up and running.. monomac and maccore
seemed to compile fine.
mono version 3.0.2, macosx 10.8.2
MonoMac apps built in MonoDevelop work fine also.

Any help would be appreciated.

TestFramework.cs itself
using MonoMac.Foundation;
 
namespace test {
    [BaseType (typeof (NSObject))]
    interface TestFramework {
    	[Static, Export ("testMethod")]
    	void TestMethod();
    }
}





--
View this message in context: http://mono.1490590.n4.nabble.com/bmac-exe-error-tp4657938.html
Sent from the Mono - OSX mailing list archive at Nabble.com.


More information about the Mono-osx mailing list