Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

Problem with conditional compilation

$
0
0

Good day!
if I run this fragment

var sCheck = "universal code";
# if _ ANDROID _
sCheck = "Android code";
# endif

on android device (or emulator) sCheck always has "universal code" value (I wait for "Android code" value). What I am doing wrong ?

I use Visual Studio Community 2017.

Thanks in advance for your help


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>