On Aug 22, 2012, at 5:34 AM, Goncalo Oliveira <gonc...@minkan.net> wrote:
> Specifically I meant both the compiler and the IDE.
> 
> the .csproj does not define them
> <DefineConstants>TRACE;DEBUG;SQLITE_ENABLE_COLUMN_METADATA</DefineConstants>
> 
> and yet this is correctly identified by the IDE
> 
> #if __ANDROID__
>             int u = 1;
>             u++;
> #endif

How are we defining "correctly identified"? As in syntax coloring? If so, refer 
to the previous email on the subject which contains an actual Visual Studio 
screenshot which shows that the code within __ANDROID__ and __ANDROID_8__ are 
"grayed out", i.e. "not defined" (even though they clearly should be):

        
http://lists.ximian.com/pipermail/monodroid/attachments/20120821/e4e3010e/attachment-0001.png

Within VS2012, I see the same behavior: code within a `#if __ANDROID__` block 
is "grayed out." I would consider this as the IDE _not_ "correctly identifying" 
the defines, but (as stated earlier) I don't know how to get the IDE on the 
same page as the compiler...

MonoDevelop 3.0.4.4 behaves the same: code within a `#if __ANDROID__` block is 
"grayed out", and code completion is ~non-existent.

 - Jon

_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to