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

#if DEBUG

$
0
0

I differentiate some code with #if DEBUG #else blocks.

But when I publish the app in Release mode it always considers the debug code.

When I switch between Debug & Release, I can see the right code blocks being grayed out etc.

What is happening? Any way out here?


Viewing all articles
Browse latest Browse all 58056

Trending Articles



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