简体   繁体   English

将Universal DirectX应用程序部署到Windows Phone 8.1设备

[英]Deploying Universal DirectX app to Windows Phone 8.1 device

I have been playing around with DirectX on Windows Phone 8.1 through the Universal App Template and in the process I've noticed that no matter which of my solutions I am opening, whether it be a Universal DirectX template within Visual Studio or code samples from MSDN; 我一直在通过Universal App Template在Windows Phone 8.1上玩DirectX,在此过程中,我注意到无论我打开的是哪种解决方案,无论是Visual Studio中的Universal DirectX模板还是MSDN的代码示例。 ; whenever I set the default Project in the solution to the Windows Phone 8.1 Project, I dont get an option to deploy to my device(s), instead only the 6 emulators appear. 每当我在解决方案中将默认项目设置为Windows Phone 8.1 Project时,都没有选择部署到我的设备的选项,而是仅显示6个模拟器。

If I set the default project in the solution to the Windows 8.1 version I am given the option to run on both the device and emulators and if I create a Windows Phone 8.1 DirectX (Silverlight) app it gives me the option to deploy to both the device and emulators. 如果我在解决方案中将默认项目设置为Windows 8.1版本,则可以在设备和仿真器上运行;如果创建Windows Phone 8.1 DirectX(Silverlight)应用程序,则可以选择同时部署到Windows 8.1和Windows 8.1。设备和仿真器。 So this problem is only for deploying a DirectX (Universal) app to a Windows Phone 8.1 device 因此,此问题仅用于将DirectX(通用)应用程序部署到Windows Phone 8.1设备上

To go a step further, I have tried generating an APPX and manually deploying the DirectX (Universal) app to my various devices, but even though the deployment tool that comes with the 8.1 SDK says that it was successful, it doesn't appear on the devices app lists. 为了更进一步,我尝试了生成APPX并将DirectX(通用)应用手动部署到我的各种设备上,但是即使8.1 SDK随附的部署工具说成功了,也没有出现在设备应用列表。


So I want to know, is it even possible to deploy a DirectX (Universal) app to a Windows Phone Device? 所以我想知道,是否有可能将DirectX(通用)应用程序部署到Windows Phone设备? and if it is possible, how to set up the solution to allow deploying to my Windows Phone devices? 如果可能,如何设置解决方案以允许部署到我的Windows Phone设备?

Thank you. 谢谢。

Yes, it is possible to deploy to the phone device. 是的,可以部署到电话设备。

  • You need a Windows Phone with 8.1 on it. 您需要带有8.1的Windows Phone。
  • Plug it into an enabled USB port. 将其插入已启用的USB端口。
  • Unlock the phone. 解锁手机。 The name of the tool that unlocks the phone is "Windows Phone Developer Registration (8.1)"; 用于解锁手机的工具的名称为“ Windows Phone Developer Registration(8.1)”; it's available by searching from the start menu (it isn't listed in the Visual Studio tools menu). 可通过从开始菜单进行搜索来获得(Visual Studio工具菜单中未列出)。

Try this: 尝试这个:

  1. create a new universal d3d app 创建一个新的通用d3d应用
  2. right click the windows phone project and select 'Set as startup project' 右键单击Windows Phone项目,然后选择“设置为启动项目”
  3. set the solution platform to 'ARM' 将解决方案平台设置为“ ARM”

The 'Device' option should now be available. “设备”选项现在应该可用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM