Windows 10 mobile - 无法将项目部署到设备
Windows 10 mobile - Unable to deploy project to device
我们有一个 Windows Phone Silverlight 8.1 项目,我们需要在 Windows 10 移动设备上调试它。当我们尝试部署到设备时,出现以下错误:
'Install failed. Please contact your software vendor'
然后弹出消息:
'A specified communication resource is already in use by another application'
我们已经尝试过:
- 多个 Windows 10 台移动设备(一台购买时安装了 Windows 10 台,另一台我们已从 8.1 更新)
- 从两台不同的开发机器部署(产生相同的错误)
- 删除设备上安装的任何以前版本的应用程序
- 正在使用最新的 Windows 10 sdk 和模拟器将 visual studio 更新到最新版本
- 开发机器和 Windows 10 个移动设备都在 'For developers' 设置面板中启用了 'Developer mode'
该应用程序在 Windows Phone 8.1 和 运行ning Windows Phone 8.1 上部署并且 运行 正常& 10.
我们只遇到部署到物理设备的问题。
编辑:
实际上,在安装更多模拟器后,该应用程序实际上不会 运行 在某些 Windows 10 个移动模拟器上。
该应用程序 运行 可以正常运行:
模拟器 10.0.1.0 720p 5 英寸 1GB
但 运行 不在:
移动模拟器 10.0.10586.0 QHD 5.2 英寸 3GB
如果其他人在部署到 Windows 10 移动设备时遇到问题,请检查 WMAppManifest 中的版本号。
我们的项目版本号是由我们的构建服务器设置的,这意味着我们在项目本身中只有 0.0.0.0。
这在 Windows Phone 8 上没问题,但在 Windows 10 Mobile 上...不,不会部署!
在我的例子中,我必须手动启动
Windows Phone IP over USB 传输 (IpOverUsbSvc) services.msc
中的服务
我们有一个 Windows Phone Silverlight 8.1 项目,我们需要在 Windows 10 移动设备上调试它。当我们尝试部署到设备时,出现以下错误:
'Install failed. Please contact your software vendor'
然后弹出消息:
'A specified communication resource is already in use by another application'
我们已经尝试过:
- 多个 Windows 10 台移动设备(一台购买时安装了 Windows 10 台,另一台我们已从 8.1 更新)
- 从两台不同的开发机器部署(产生相同的错误)
- 删除设备上安装的任何以前版本的应用程序
- 正在使用最新的 Windows 10 sdk 和模拟器将 visual studio 更新到最新版本
- 开发机器和 Windows 10 个移动设备都在 'For developers' 设置面板中启用了 'Developer mode'
该应用程序在 Windows Phone 8.1 和 运行ning Windows Phone 8.1 上部署并且 运行 正常& 10.
我们只遇到部署到物理设备的问题。
编辑: 实际上,在安装更多模拟器后,该应用程序实际上不会 运行 在某些 Windows 10 个移动模拟器上。
该应用程序 运行 可以正常运行: 模拟器 10.0.1.0 720p 5 英寸 1GB
但 运行 不在: 移动模拟器 10.0.10586.0 QHD 5.2 英寸 3GB
如果其他人在部署到 Windows 10 移动设备时遇到问题,请检查 WMAppManifest 中的版本号。
我们的项目版本号是由我们的构建服务器设置的,这意味着我们在项目本身中只有 0.0.0.0。
这在 Windows Phone 8 上没问题,但在 Windows 10 Mobile 上...不,不会部署!
在我的例子中,我必须手动启动
Windows Phone IP over USB 传输 (IpOverUsbSvc) services.msc
中的服务