This guide outlines how to build a project for a Windows Phone device or the emulator.
If the device has not been registered for development, Visual Studio will display a deployment error. To unlock the device for development, run Microsoft's Windows Phone Developer Registration application.