Click here to Skip to main content
15,173,454 members
Articles / Programming Languages / C#
Posted 10 Dec 2012


6 bookmarked

How to Start with Debugging/Deploying Windows Store Apps to ARM Tablet

Rate me:
Please Sign up or sign in to vote.
0.00/5 (No votes)
10 Dec 2012CPOL4 min read
You need to know a little more when you need to deploy and test Windows Store apps on arm devices.


Visual Studio 2012 and Windows 8 make pretty easy to start with Windows Store applications development. You will have no issues to run and test your fancy Windows applications on your PC but probably you need to know a little more when you need to deploy and test Windows Store apps on arm devices.

First you need to know what is Windows RT: Windows RT is the feature-limited Windows 8 version to run on ARM processors.

Windows Runtime, also referred to as WinRT, runs on both standard Windows 8 and Windows RT. Runtime is the technical term for the engine that powers the new Modern UI apps. It's not the first Windows Runtime. "Runtime" refers to the collection of application programming interfaces (APIs) that allow developers to write software that can interact with the hardware and each other. 


What else you need to know before you start:

  • You heed a Developer License for Windows 8:
    Writing Metro Style Apps for Windows 8 requires that you have a valid  Developer License for Windows 8. The Developer License is free, regardless of the edition of Visual Studio you are using. The license works with Windows 8 Metro style apps only, you do not need it to write other .NET based programs like ASP.Net , Windows Forms or WPF apps. A developer license is not the same as a Windows Store account. A Windows Store account is what you use to sell and manage your Metro style apps.

To be possible to deploy and debug Windows Store applications you need to

  • For arm devices you should set in solution properties –> Configuration Properties-> Project Platform to "ARM". You can’t deploy apps built for arm architecture to your emulator – you need to use a real arm device.

Image 1

  • Enable UAC control. UAC (User Account Control)  provides information to you when changes are to be made to your system that requires administrator permission. When you open the application or install the application and then you get a UAC Window, click the yes Button to open the new window that you want. For Windows Store apps to work, you must have UAC enabled, Windows Firewall service must be running (started and Automatic).UAC is enabled by default. It is possible for some reasons your settings to be different.

    To enable UAC in the Modern UI search box type UAC under the application tab and click on it.

Image 2

  • After this step, the UAC is disabled you slide the slider upwards to enable the UAC and then click on the OK Button. That is shown in following image:

Image 3

Setting the Remote Debugger 

The basic process would be to set up a Remote Debugger service on your tablet and from a desktop on the same subnet, run on it directly. This assumes you have a development tablet device and a desktop running the same user (who also has admin rights). You can install remote debugging service and monitor via Remote Tools for Visual Studio 2012. The actual version is available here.

  • Install the tool on your tablet and in your start page’s All apps view (via bottom application bar), you will have an app called Remote Debugger Configuration Wizard. Run it to open the wizard and input your admin user’s credentials (most likely in the form of [MachineName]\[UserName]). Once it’s set up, you can monitor the remote processes with the Remote Debugger tool. Probably first time you will receive an error message because your user is not logged as a service.
  • Give the remote debugger user user also an option : "Log as a service".  It is not easy to do that "out of the box" for Windows RT devices:
  1. Click Start, point to Run, type mmc, and then click OK.
  2. On the File menu, click Add/Remove Snap-in.
  3. In Add/Remove Snap-in, click Add, and then, in Add Standalone Snap-in, double-click Group Policy Object Editor.
  4. In Group Policy Object, click Browse, browse to the Group Policy object (GPO) that you want to modify, click OK, and then click Finish.
 Image 4

Image 5 

  • Run the remote debugger and Visual Studio Remote Debugging Monitor will appear. 

 Image 6

  • To be possible to deploy and debug apps on your ARM device you should also enter again your Windows 8 developer license credentials (for Windows RT machine). 
  • Then, from your desktop with the code, select to run from Remote Machine. 

 Image 7

  •  In the pop-up, input the machine name / IP of the tablet and it port and voila, you should have the debugger and app running on the tablet!

Image 8

 Image 9

 Try to play with your application. Add breakpoints and let your app to stop at a specified row from your code.

 Image 10

 Image 11


  • You could debug  applications for Windows RT only if you deploy and debug it on arm device with Windows RT.
  • There should be installed Remote Debugging Tools for arm on your Windows RT tablet
  • You need to have a valid Windows 8 Developer license
  • UAC should be turn on.
  • The remote debugger should run run with credentials of the user, who is in the local administrators group and log as a service. 

Points of Interest 

WIndows 8, Windows Store Applications, Windows RT, WinRT. Modern UI


This is the first version of this article


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Mihail Mateev
Architect Strypes
Bulgaria Bulgaria
Mihail Mateev is a Technical Consultant, Community enthusiast, PASS RM for CEE and chapter lead, Microsoft Azure MVP
He works as Solutions Architect, Technical PM and Senior Technical Evangelist at Strypes
Mihail Mateev has experience as a Senior Technical Evangelist, Team Lead at Infragistics Inc. He worked as a Software developer and team lead on WPF and Silverlight Line of Business production lines of the company.
Mihail worked in various areas related to technology Microsoft: Silverlight, WPF, Windows Phone 7, Visual Studio LightSwitch, WCF RIA Services, ASP.Net MVC, Windows Metro Applications, MS SQL Server and Windows Azure. He also write many jQuery related blogs.
Over the past ten years, Mihail has written articles for Bulgarian Computer World magazine, blogs about .Net technologies. He is a contributor and a technical editor of publications PACKT Publishing and Wiley. Mihail did presentations for .Net and Silverlight user groups in Bulgaria. He has an Experience with GIS system over .Net framework. He worked more than five years in ESRI Bulgaria like a Software developer and a trainer. Several years Mihail did a lectures about Geographic Information Systems in the Sofia University “St. Kliment Ohridski” , Faculty of Mathematics and Informatics. Mihail is also a lecturer about Computer Systems in the University of the Architecture, Civil Engineering and Geodesy in Sofia at Computer Aided Engineering Department. Mihail holds master's degrees in Structural Engineering and Applied Mathematics and Informatics.

Comments and Discussions

-- There are no messages in this forum --