locked
Testing Windows Store apps on non-developer systems RRS feed

  • Question

  • You need a developer license to develop and test Windows Store apps prior to certifying and deploying through the store. Visual Studio 2012 will automatically request a developer license when it is run for the first time. To get a developer license without Visual Studio run the show-WindowsDeveloperLicenseRegistration function in powershell:

    C:\Windows\system32>powershell
    Windows PowerShell
    Copyright (C) 2012 Microsoft Corporation. All rights reserved.
    
    PS C:\Windows\system32> Show-WindowsDeveloperLicenseRegistration

    For information on developer licenses see: Get a developer license (Windows Store apps)

    To deploy the app, build a package in Visual Studio from the Store.Build Pacakage menu.  Build it for local use.  Copy the resulting package to the target machine and run the included Add-AppDevPackage.ps1 file.

    See also Sharing an app package locally.
    --Rob   



    Friday, March 2, 2012 12:13 AM
    Moderator

All replies

  • You can also use Visual Studio's remote debugger to deploy and test your app on a remote machine. This will automatically request the developer license on the remote machine.

    See Running Windows Metro style apps on a remote machine

    Tuesday, April 24, 2012 4:27 PM
    Moderator
  • I can't seem to find the Add-AppDevPackage.bat file, where is it supposed to be at?

    Thanks


    http://bit.ly/sebagomez

    Monday, June 11, 2012 5:51 PM
  • Nevermind... found a powershell script where the app is located.

    Good info also found here: http://msdn.microsoft.com/es-es/library/windows/apps/hh975356(v=vs.110).aspx


    http://bit.ly/sebagomez

    Monday, June 11, 2012 6:42 PM
  • How will/can this be used with the ARM-based systems when they become available? Since I have to build my app for each processor type, it makes sense that I test the app on an ARM-based system. I've ordered a Surface RT but there is a discussion on a different forum that suggests it won't be possible to deploy an app from a VS2012 system to an ARM system, nor will it be possible to run the remote debugger.

    Please advise ;-).

    Thanks.

    Wednesday, October 17, 2012 8:45 AM
  • The linked  Running Windows Metro style apps on a remote machine documentation has instructions for remote debugging on ARM.

    --Rob

    Friday, October 19, 2012 7:11 PM
    Moderator
  • I'm probably a little dense but, just to clarify, is it possible for me to buy a retail Microsoft Surface or Asus Vivo Tab and use that as a test development system for Metro style apps?  I'm thinking of getting an Asus Vivo Tab from Best Buy and I want to be able to deploy any apps I might develop onto it for testing.  But some articles seem to imply you have to get a special developer machine in order to run your own Metro style apps.
    • Edited by BlueBeetle Monday, November 5, 2012 7:10 PM
    Monday, November 5, 2012 6:36 PM
  • You can use the Asus. The steps outlined above allow you to add a developer licence, which is valid for 3 months and can be renewed. You need to run VS2012 on a Win8 Intel system but it is very straightforward to then deploy the app to an Arm system.

    Monday, November 5, 2012 6:45 PM
  • Thanks for the quick answer!  Woo hoo!  Can't wait to get the Asus!
    Monday, November 5, 2012 7:11 PM
  • You can use the Asus. The steps outlined above allow you to add a developer licence, which is valid for 3 months and can be renewed. You need to run VS2012 on a Win8 Intel system but it is very straightforward to then deploy the app to an Arm system.

    Hi! Excuse me, I am still not sure: is it possible to use MS Surface for testing a Metro app prior to uploading to Win Store, and without usage of any remote debugging access? So, is it possible just to install an app from AppPackages folder using Power Shell of MS Surface? (AppPackages is produced on my developer PC.)

    Thanks.

    Monday, November 19, 2012 5:34 PM
  • Yes, it is possible.

    The steps in this blog posting should help: http://geoffwebbercross.blogspot.co.uk/2012/07/installing-windows-8-app-package.html. This works on the Surface - PowerShell is included in Windows RT ;-)

    Philip

    Monday, November 19, 2012 5:53 PM