Conditional Compilation for UWP?

Hello,

I was looking for compile directives for Universal Windows Platform.
I was checking this docs page
https://developer.xamarin.com/guides/cross-platform/application_fundamentals/building_cross_platform_applications/part_4_-_platform_divergence_abstraction_divergent_implementation/

It shows IOS, Android (IOS, ANDROID) and some others, but now UWP.

What should I use for it? (UWP maybe?)

I tried it but seems like does not work.

Can you please help?

Best Answer

  • teoman-shipahiteoman-shipahi US ✭✭
    Accepted Answer

    OK I found the answer. It was under Build settings under project settings.

Answers

  • teoman-shipahiteoman-shipahi USMember ✭✭
    Accepted Answer

    OK I found the answer. It was under Build settings under project settings.

  • Abhijeet_SuryaAbhijeet_Surya USMember ✭✭✭
    edited February 2018

    @teoman-shipahi

    I have some issue with regards to Build configurations & compiler symbols I have created new build configurations - DEV, SIT, PROD & also defined the compiler symbols for particular build configurations in VS for mac. & written below mention code, which is not working as expected. Can you please help me on this? #if !STORE //Do Something #endif When I build using Store(Release) configuration I expect that "DO SOMETHING" should not be executed.

Sign In or Register to comment.