Jerry Nixon on Windows: Set up Xbox One for UWP development

Jerry Nixon on Windows

Monday, October 24, 2016

Set up Xbox One for UWP development

Since Anniversary Update (Windows 10 1607) Xbox One has supported UWP developers and the Windows Store has supported UWP apps targeting Xbox One. You can use any Xbox One as a developer machine. This blog will walk you through the process of setting it up. It's a lot of steps, but pretty easy.

First, what are the prerequisites?

  1. An Xbox One with local, shared network access
  2. Visual Studio 15 Preview 5 (or VS 2015 Update 3+)

Search for the Dev Mode Activation app in the Store

image

Run the Dev Mode Activation app

image

Read the legal disclaimers and stuff

image

Make sure your PC is ready

image

Activate your console (on the Xbox)

image

Activate your console (on the PC)

https://developer.microsoft.com/xboxactivate

image

Switch to developer mode

image

After you reboot (this is a brand new environment)

  1. Reconnect to your network (I use my wireless network)
  2. Sign-in again with your Xbox live account
  3. I chose a unique color (green)

image

Launch Dev Home

image

Remember your Xbox One IP address

image

Click Pair with Visual Studio

image

Remember the Visual Studio Pairing Pin

This value will actually timeout. You may need to repeat this step again, later if you are slow to get Visual Studio ready to pair with your Xbox One. It's okay.

image

(Back on your PC) Create a new UWP app

image

The target version must be set to 14393 or higher.

image

Change Project > Properties > Debug > Target Device to "Remote Machine"

image

Type in your Xbox One IP Address (from Dev Home) & click find

image

Hit F5 and enter your Pairing pin

image

Your first UWP app will build, deploy and run. It will likely be plain white and won't be all that sexy to look at. But, you're running on an Xbox.

Congratulations.