[Mono-dev] Cross Platform on Linux/Windows with Mono.Posix reference on Linux

Edward Ned Harvey (mono) edward.harvey.mono at clevertrove.com
Wed Mar 30 11:32:36 UTC 2016

> From: Chris Swiedler [mailto:cswiedler at trionworlds.com]
> Why not just include references to Mono.Posix.dll in the Windows build? You
> don't have to install the full framework.

Then when you run it on mono, you're using the Mono.Posix.dll that you packaged with your application, instead of using the one that's included in the OS. Although it's arguable which way is better, because each way has pros and cons, the OP specifically said he didn't want to do this (and I personally agree).

It's not difficult to write the abstraction factory, and it's the most elegant solution. I will advocate for this because I've been burned in the past by *not* doing it.

More information about the Mono-devel-list mailing list