I haven't yet needed to write any cross-platform apps in C#. However, everytime I come to work with paths etc I always wonder what things I should be doing to make my life easier should I need to cross compile to Mono.
I understand the GUI could be an issue. I would like to try and employ good cross platform practices in my normal Windows coding if possible.
Are the any ADO issues to watch out for?
What issues have people come across and how are they resolved?
Run everything through MOMA after you have written it. It will identify for you any constructs that are not platform independent or not implemented in the Mono runtime.
Additionaly compile both with MSBuild and the mono .net compiler.
Using Path.Combine and Environment.NewLine are a couple off the top of my head.
Avoid windows only construct (WMI and such) that have no linux/unix analogue.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With