DZone
Mobile Zone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
  • Refcardz
  • Trend Reports
  • Webinars
  • Zones
  • |
    • Agile
    • AI
    • Big Data
    • Cloud
    • Database
    • DevOps
    • Integration
    • IoT
    • Java
    • Microservices
    • Open Source
    • Performance
    • Security
    • Web Dev
DZone > Mobile Zone > Windows Store App Development Snack: Side Loading Apps for Development Purposes

Windows Store App Development Snack: Side Loading Apps for Development Purposes

Robert Maclean user avatar by
Robert Maclean
·
Oct. 23, 12 · Mobile Zone · Interview
Like (0)
Save
Tweet
6.38K Views

Join the DZone community and get the full member experience.

Join For Free

one of the things you need to think of when you are going through your development cycle is how the decision makers are going to test your app?

likely the best solution is to get it to their hands via a device, but how do you load your application onto that other device? well there are two options!

building the app

before you do that however you need open your project in visual studio , right click on the project and go to the store option, then client the create app packages option.

image

since you are creating them for side loading you do not need to associate them with the store.

image

once done you will have a folder (called the output location) with both a .appxupload & another folder in it – we will call this the deployment folder.

image

powershell

image regardless of the machine, if it has windows 8 on it – it has powershell too so this option works fantastically for everyone.  step one is to load a developer license onto the machine, you can do this by typing: show-windowsdeveloperlicenseregistration

you will now get the prompt for your live id to register the device unlocked for three months.

next you need to ensure you can run powershell scripts, this is done using: set-executionpolicy unrestricted

now copy the deployment folder to the device and using powershell run the add-appdevpackage.ps1 – this will prompt you about installing it and installing the required certificates. say yes to those and the app will install on the device!

visual studio debuggable package manager

if the device has has visual studio on it there is another option you can use which just requires the .appx package. that is the debuggable package manager

image

when you launch that you can use the add-appxpackage command to install any appx you have. you can find the .appx file in the deployment folder.

appxupload

if you only have an .appxupload file – you can still use that too! just remain it to a zip file, open it up in your favourite compression tool and extract the appx file from there!

for more posts in this series, see the series index .

app

Published at DZone with permission of Robert Maclean, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Snake-Based REST API (Python, Mamba, Hydra, and Fast API)
  • Write Your Kubernetes Infrastructure as Go Code - Extend cdk8s With Custom Constructs
  • Multi-tenancy Architecture With Shared Schema Strategy in Webapp Application Based on Spring-boot, Thymeleaf, and Posmulten-hibernate (Part 1)
  • How API Management Can Ease Your Enterprise Cloud Migration

Comments

Mobile Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • MVB Program
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends:

DZone.com is powered by 

AnswerHub logo