That is indeed strange!
It doesn’t work like that for me.
I created a new solution and an “Android Native Application”
When i add your lines to the android_main(…) function, it shows the android line greyed out.
Do I need a new version of the plugin or something?
Or is there some additional option I need to set?
Okay apparently it seems to do the right thing - but shows the wrong thing. When I compile with
#if defined(__WIN32__) || defined(_WIN32)
"Hello from WIN32 !"
#error "Great goodness! We're in the right branch!"
it actually stops at the error.
Question is: Can we change the behaviour of what Visual Studio shows? Or is that a problem just I have with my German Windows and Visual Studio?