I´ve just compiled it to C# mapscript and I got the following error when I trie to use mapobj on C#:
Unable to find an entry point named 'SWIGRegisterByteArrayCallback_mapscript' in DLL 'mapscript'.
[EntryPointNotFoundException: Unable to find an entry point named 'SWIGRegisterByteArrayCallback_mapscript' in DLL 'mapscript'.]
SWIGByteArrayHelper.SWIGRegisterByteArrayCallback_mapscript(SWIGByteArrayDelegate bytearrayDelegate) +0
SWIGByteArrayHelper..cctor() +54
[TypeInitializationException: The type initializer for 'SWIGByteArrayHelper' threw an exception.]
SWIGByteArrayHelper..ctor() +0
mapscriptPINVOKE..cctor() +82
SWIGByteArrayHelper.SWIGRegisterByteArrayCallback_mapscript(SWIGByteArrayDelegate bytearrayDelegate) +0
SWIGByteArrayHelper..cctor() +54
[TypeInitializationException: The type initializer for 'SWIGByteArrayHelper' threw an exception.]
SWIGByteArrayHelper..ctor() +0
mapscriptPINVOKE..cctor() +82
