We upgraded the Xanarin Studio and converted our project to support 64bit. Now in my project I need not to add “using MonoMac.Foundation;” I can directly use “using Foundation;” the second thing I have done is I have used the new datatypes like “System.nuint” or “nuint" in project and everything looks fine in project.
But when I try to convert a third party library “OSXFuse” to use this new updated things, the “bmac” is not able to generate dll for me.
1.) When I try to use
I get error like
ApiDefinition.cs(3,7): error CS0246: The type or namespace name `Foundation' could not be found. Are you missing an assembly reference?
2.) When I try to use “nuint” Like bellow
int ReadFileAtPath (string path, NSObject userData,[PlainString] string buffer, nuint size, Int64 offset, out NSError error); I get error like
ApiDefinition.cs(183,83): error CS0246: The type or namespace name `nuint' could not be found. Are you missing an assembly reference?
I am not sure what the issue is. I think the Xamarin Studio is now supporting the 64bit but the “bmac” don’t support it yet. If this is the case please guide me how to create dll for “OSXFuse” framework that support 64bit.
I am using bmac command to create dll like this :
$ /Library/Frameworks/Xamarin.Mac.framework/Versions/184.108.40.206/bin/bmac -oOSXFuse_Sep.dll -tmpdir=/tmp -baselib=/Library/Frameworks/Xamarin.Mac.framework/Versions/220.127.116.11/lib/mono/XamMac.dll -r=System.Drawing ApiDefinition.cs -s=StructsAndEnums.cs --compiler=mcs
Any help ?