Search code examples
windows-phone-8windows-phone-8.1windows-phone-8-sdk

one project two apps (paid and free) on Windows phone


I have an a PAID app on the store. Now I would like to distribute another free(2 apps: 1 paid and 1 free). Obviously I would not recreate another project. you can do? on ios and android is direct by the project with the targets. you can on windows phone? i use Windows phone 8.1 silverlight


Solution

  • The same as on iOs and Android. Use Conditional compilation symbols.

    enter image description here

    and then in code:

    #if FREE_VERSION
                TrialPanel.Visibility = Visibility.Visible;
    #endif