How to test a Windows8 app on a surface

早过忘川 提交于 2019-12-10 03:09:23

问题


How do I port a Windows8 app that I built onto a Surface? I've built the app using Visual Studio and I can test it just fine on the desktop machine by just hitting F5. How can I put it onto a Surface to test it without having to publish it to the Store? Thanks.


回答1:


This link explains how to test your app on a Surface using remote debugging: http://timheuer.com/blog/archive/2012/10/26/remote-debugging-windows-store-apps-on-surface-arm-devices.aspx

A quick summary:
1. Download the Remote Tools for Visual Studio 2012 (from here, under "Additional software" near the bottom) and install them on your Surface.
2. Launch the Remote Debugger on your Surface and configure it. Leave it running and "listening".
3. Go back to your dev machine and, in Visual Studio 2012, change the Run dropdown to "Remote Machine". Run and select your device.




回答2:


you need to install the Remote Tools and config the Visual Studio to debug on a remote machine. The rest is quite simple.

More details:
here
here



来源:https://stackoverflow.com/questions/13572178/how-to-test-a-windows8-app-on-a-surface

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!