[Mono-dev] Class built by mono throws FileNotFoundException when run on windows
Edward Ned Harvey (mono)
edward.harvey.mono at clevertrove.com
Wed Sep 2 21:12:55 UTC 2015
> From: Greg Young [mailto:gregoryyoung1 at gmail.com]
> Use conditional compilation.
Unless I've somehow missed your point? You said that twice, so I want to make sure we're on the same page - You're talking about defining a compiler symbol, and then using [Conditonal] or #if, right? The end result would be different binaries for different platforms. But you can see in my original post, I got my ego bruised and I got taken down a notch by Miguel and others here for doing it - I am *specifically* looking to avoid conditional compilation. That was the point of the original question. The folks who maintain the mono source consider it incorrect enough to reject any pull request that does it, except for compiler code. I'm here to learn a new pattern that is better and more flexible, although not trivial to learn for the first time. That's exactly what I've gotten from Alex and Robert: Use a factory and two assemblies.
More information about the Mono-devel-list