[MonoDevelop] Moving to MonoDevelop
m.j.hutchinson at gmail.com
Tue Aug 3 15:11:57 EDT 2010
On Tue, Aug 3, 2010 at 12:25 PM, Lluis Sanchez Gual
<slluis.devel at gmail.com> wrote:
>> 2. I have a bit of code like this...
>> #if !MONO
>> // code that won't compile under Mono
>> The MONO define is set by my NAnt build and is of course never true
>> under VS. With
>> MD, I'd like to switch between .NET and Mono CLRs on Windows and have some
>> automatic definition I can rely on. Is that possible?
> The only way of doing this is to create different build configurations
> for each CLR. For example, you can have DebugMono and DebugDotNet and
> define MONO only in DebugMono.
Or, if using the experimental xbuild support, you could use a
condition in the csproj file.
More information about the Monodevelop-list