Re: [mono-android] Conditional Compilation Symbols

2012-08-22 Thread Greg Shackles
Visual Studio is smart enough to pick up the build symbols and do the correct highlighting, but only after it builds the project for the first time. I just tested this out again on a new project, and before the first build it highlighted the wrong part, but then once it built it switched the highli

Re: [mono-android] Conditional Compilation Symbols

2012-08-22 Thread Jonathan Pryor
On Aug 22, 2012, at 5:34 AM, Goncalo Oliveira wrote: > Specifically I meant both the compiler and the IDE. > > the .csproj does not define them > TRACE;DEBUG;SQLITE_ENABLE_COLUMN_METADATA > > and yet this is correctly identified by the IDE > > #if __ANDROID__ > int u = 1; >

Re: [mono-android] Conditional Compilation Symbols

2012-08-22 Thread Goncalo Oliveira
Hi Jon, Specifically I meant both the compiler and the IDE. the .csproj does not define them TRACE;DEBUG;SQLITE_ENABLE_COLUMN_METADATA and yet this is correctly identified by the IDE #if __ANDROID__ int u = 1; u++; #endif Cheers On 21 August 2012 22:11, Jonathan Pryor

Re: [mono-android] Conditional Compilation Symbols

2012-08-21 Thread Jonathan Pryor
On Aug 21, 2012, at 6:43 AM, Tomasz Cielecki wrote: > I've been looking at the docs for Conditional Compilation and the Symbols, > but for some reason it does not seem like any of the Android related Symbols > are defined. At least VS2010 nor VS2012 recognizes the symbols __ANDROID__ or > any o

Re: [mono-android] Conditional Compilation Symbols

2012-08-21 Thread Tomasz Cielecki
No dice with 4.2.5 either. I suspect this being a regression. Can someone confirm? On Tue, Aug 21, 2012 at 1:07 PM, Goncalo Oliveira wrote: > I'm still using 4.2.2 and I'm getting the correct behavior. Both in > application project and library project. > > > On 21 August 2012 12:03, Tomasz Cielec

Re: [mono-android] Conditional Compilation Symbols

2012-08-21 Thread Goncalo Oliveira
I'm still using 4.2.2 and I'm getting the correct behavior. Both in application project and library project. On 21 August 2012 12:03, Tomasz Cielecki wrote: > It does not seem to work here, either in vs2010 nor in vs2012. I will > try with Mono for Android 4.2.5 in a bit. I have attached an imag

Re: [mono-android] Conditional Compilation Symbols

2012-08-21 Thread Tomasz Cielecki
It does not seem to work here, either in vs2010 nor in vs2012. I will try with Mono for Android 4.2.5 in a bit. I have attached an image how it looks. On Tue, Aug 21, 2012 at 12:50 PM, Goncalo Oliveira wrote: > That doesn't look correct. I'm using the __ANDROID__ symbol and it is > correctly re

Re: [mono-android] Conditional Compilation Symbols

2012-08-21 Thread Goncalo Oliveira
That doesn't look correct. I'm using the __ANDROID__ symbol and it is correctly recognized by VS2010. On 21 August 2012 11:43, Tomasz Cielecki wrote: > Hey list, > > I've been looking at the docs for Conditional Compilation and the > Symbols, but for some reason it does not seem like any of th