locked
API to know if an app was installed through the Store or Visual Studio

    Question

  • As my app starts I'd like to be sure some of the features I use during the development are off and other like analytics are on.

    Is there an API to know what is the deployment source of an app at runtime? If it was deployed via the Store or from Visual Studio?

    Thank you

    Andrea

    Tuesday, January 6, 2015 6:35 PM

Answers

  • I don't think there is a way to determine the source of deployment. 

    Suggestion would be to turn off features that you would not like to be present when deployed through store and test that as a beta app to make sure it is working as expected and then submit that app to the store. 

    More information about beta testing an app can be found in the following link. 

    http://msdn.microsoft.com/en-us/library/windows/apps/dn832612.aspx

    Tuesday, January 6, 2015 11:08 PM
    Moderator