本文介绍了Surface pro 3 作为开发设备的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以将 Surface pro 3 用作开发测试设备.我试着环顾四周,没有太多信息.我的意思是你将 pro 3 连接到 PC 并将应用程序部署到平板电脑.我的猜测是你不能,但我想我会得到一些澄清.

Is it possible to use the surface pro 3 as a dev test device. I tried looking around and there wasn't much information. What I mean by this is you connect your pro 3 to PC and deploy app to the tablet. My guesses are that you cannot but I thought I would get some clarification.

谢谢!

推荐答案

是的,您可能必须在 Surface Pro 3 上安装远程调试组件.适当的应该是 x64 版本的 VS Update 3 适合您.

Yes it is possible you have to install remote debugging companents on your Surface Pro 3. And the appropriate one should be x64 version of VS Update 3 for you.

安装远程工具后,在开始屏幕上选择远程调试器.远程调试配置在您第一次启动远程调试器时出现.

After you have installed the Remote Tools, choose Remote Debugger on the Start screen. The Remote Debugging Configuration appears the first time that you start the remote debugger.

在远程调试配置对话框中:

On the Remote Debugging Configuration dialog box:

  1. 如果未安装 Windows Web 服务 API,请选择安装

  1. If the Windows Web Services API is not installed, choose Install

在配置 Windows 防火墙组中,选择要允许连接的网络.仅启用设备当前连接到的那些网络.您必须至少选择一个网络.

In the Configure Windows Firewall group, choose the networks that you want to allow connections to. Only those networks that the device is currently connected to are enabled. You must choose at least one network.

选择配置远程调试来设置防火墙选项并启动远程调试器.打开 Visual Studio 远程调试监视器对话框,授予用户对远程工具的权限并设置其他高级选项.

Choose Configure remote debugging to set the firewall options and start the remote debugger. Open the Visual Studio Remote Debugging Monitor dialog box to give users permissions to the remote tools and to set other advanced options.

Visual Studio 远程调试监视器对话框出现.您可以授予用户对远程工具的权限并从此对话框设置其他高级选项.在这里您可以找到您需要的信息.

The Visual Studio Remote Debugging Monitor dialog box appears. You can give users permissions to the remote tools and set other advanced option from this dialog box. Here you can find information you need.

为 C# 和 VB 项目选择远程设备:

Choosing the remote device for C# and VB Project:

  1. 在解决方案资源管理器中选择项目名称,然后从快捷菜单中选择属性.

  1. Select the project name in Solution Explorer and then choose Properties from the shortcut menu.

选择调试.

从目标设备列表中选择远程机器.

Choose Remote Machine from the Target Device list.

在远程机器框中输入远程设备的网络名称,或选择查找以从选择远程调试器连接对话框中选择设备.

Enter the network name of the remote device in the Remote Machine box or choose Find to choose the device from the Select Remote Debugger Connection dialog box.

您可以像执行本地会话一样启动、停止和导航远程调试会话.在开始调试之前,请确保远程调试监视器正在远程设备上运行.

You start, stop, and navigate a remote debug session the same way you do a local session. Before you start debugging, make sure the Remote Debugging Monitor is running on the remote device.

然后在调试"菜单(键盘:F5)上选择开始调试".项目被重新编译,然后部署到远程设备并在远程设备上启动.调试器在断点处暂停执行,您可以单步执行、跳过和退出代码.选择停止调试以结束调试会话并关闭远程应用.

Then choose Start Debugging on the Debug menu (Keyboard: F5). The project is recompiled, then deployed to and started on the remote device. The debugger suspends execution at breakpoints, and you can step into, over, and out of your code. Choose Stop Debugging to end your debug session and close the remote app.

来源:http://msdn.microsoft.com/en-us/library/windows/apps/hh441469.aspx

这篇关于Surface pro 3 作为开发设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-09 21:57