In what measure is developing with mono cross-platform? How do I compile for Windows (in Linux), how do I run things in Linux (because there is no .NET JIT compiler)?
So what are the particularities of developing with Mono? What are the advantages over developing with Visual Studio (except cross-platform thinghie)?
Developing in Mono is definitely cross-platform with a caveat emptor:
#ifdefout the Windows API and provide your own Mono wrapper in order to minimize code changes, for example, there’s a DLL wrapper that uses Interop to invoke a Win32 method such as ‘GetFont’, this is a hypothetical example, GetFont will return the Font information, under Mono, that does not exist but however you can create a fake wrapper that returns nothing and incorporate the#ifdefmacro to use the wrapper when compiling under Mono, and switch off the macro when compiling under Windows, how you implement the wrapper is up to you.NewLineto make it independant of Unix’s CR and Win32’s CRLF, same apply for Path Separator, for Unix ‘/’ and for Win32 ‘\’.Lastly but not least, keep checking from Mono to Win32 and back again, keep testing and testing it.