Tue, 03 Feb 2004 13:29:12 -0500
Jackson Harper wrote:
> With dasBlog there are basically three kinds of patches:
> 1. Remove unsupported mono features such as certain System.Drawing
> features - I do not expect the dasBlog people to support these patches.
You could do this with #if !__MonoCS__ / #endif blocks. I've used that
approach for an in-house application I'm working on porting, and while I
know it's not the recommended way to go, it allows me to maintain a
single codebase for both platforms.
Another possibility would be to use your own define instead of
__MonoCS__, and have your build system invoke mcs with /D:mono (or
whatever the syntax is) as appropriate.
Stuart Ballard, Senior Web Developer
(215) 283-2300, ext. 126