Playing with porting Windows Forms application to MONO

So, today I began to port an old .NET 2.0 windows forms application to Linux. Interesting experience during which I learned a few things.

  1. Don’t use pre-build and post-build CMD¬†scripts.
  2. Special folders like %APPDATA% are Windows only.
  3. If you are using web browser control you will need to replace it.
  4. Getting stuff from registry is also not happening (there is none on linux).
  5. Latest version of Monodevelop is targeting .NET framework 4.5

I stopped with porting because latest version of Ubuntu 16.04 does not support l2tp/IPSEC. And I need to tunnel to work to test it out completely.

Author: pekiZG

Software engineer