22 Oct 2012

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

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

imageRegardless 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!

Comments

Windows 8 Developer Links – 2012-10-23 | Dan Rigby's picture

[...] with just a small amount of programming overhead. One of these features is the app bar…”Windows Store app Development Snack: Side loading apps for development purposes! (Robert MacLean)“One of the things you need to think of when you are going through your [...]

Vinny's picture

So by default we get 3 months of free deployment to other devices, but does this tut tell you how to bypass the 3month policy? That's my current gripe with WP7+ is that I can't dev it on my spare phone without the dev license :(

Vietnam travel's picture

Health and security matters must be high with the agenda for safe holidays.
Led by an all-star cast, the 1979 awakening to nuclear plant dangers came within
the form of The China Syndrome. Nevertheless, Vietnam is often a spot the place you can actually generate along a seaside highway and turn into forced to avoid each and every 10 minutes just for a little dip inside drinking water,
as location just after area of pristine seashores gradually pass
you by. It is sensible that you straighten out the accommodations well in advance.

go to this site's picture

This is a well explained post on how to deal with the apps. The screenshots that you have included have made the post more conveying. Thanks a lot for sharing the post here. Looking forward for more updates like this in future too.

Add new comment