mono / Embeddinator-4000

Tools to turn .NET libraries into native libraries that can be consumed on Android, iOS, Mac, Linux and other platforms.
MIT License
758 stars 95 forks source link

Poor tooling, generally bad experience #705

Open iamheavymetal opened 6 years ago

iamheavymetal commented 6 years ago

Just passing through though I feel it would be unfortunate if I didn't leave some feedback..

  1. reliance on obsolete ways to locate appropriate android sdk/ndk. I had to resort to putting a registry entry in HKLM/Novell/Mono for Android just to get Embeddinator to recognize that there was an ndk installed as it couldn't find the NDK specified in visual studio or android sdk manager. Suggestion: allow command line or environmental variables to specify sdk/ndk locations

  2. If the c# DLL has a namespace with the word "Interface" in it, like "a.b.Interface.Generic", the generated code will transform "Interface" to lower case "interface" and will fail complication. e.g. "a.b.interface...."

  3. java compiler failed with "filename or extension too long" error if too many files are generated from the DLL and hits the 32kb command line limit. Suggestion: put the filename in a file and use the @filename parameter for java compiler

  4. Windows 7 powershell is unable to run the build script.

  5. No exception handling in the tool. it just crashes with a stack trace

galilov commented 5 years ago

faced the same issue :(

korovan-software commented 5 years ago

Any workaround for 3td case?