从PC部署到自身时,Xamarin.Forms UWP中的部署错误

从PC部署到自身时,Xamarin.Forms UWP中的部署错误,xamarin.forms,uwp,windows-10,Xamarin.forms,Uwp,Windows 10,当我刚刚安装Visual Studio 2017并创建我的Xamarin.Forms应用程序时,它在我的Windows 10 PC上运行良好。然而,我随后从Steam安装了一些应用程序(这是我唯一能想到的可以更改系统设置的东西)。之后,当我尝试创建另一个Xamarin.Forms项目时,它无法很好地部署到我的机器上,并出现以下错误: DEP6200: Bootstrapping failed. Device cannot be found. SmartDeviceException - Depl

当我刚刚安装Visual Studio 2017并创建我的Xamarin.Forms应用程序时,它在我的Windows 10 PC上运行良好。然而,我随后从Steam安装了一些应用程序(这是我唯一能想到的可以更改系统设置的东西)。之后,当我尝试创建另一个Xamarin.Forms项目时,它无法很好地部署到我的机器上,并出现以下错误:

DEP6200: Bootstrapping failed. Device cannot be found.
SmartDeviceException - Deployment failed because no
device was detected. Make sure a device is connected
and powered on. [0x80131500]
奇怪的是,我的第一个应用程序继续构建并运行良好,即使我从Windows卸载它,然后再次部署它


有什么问题吗?

我刚刚注意到Visual Studio将ARM作为默认体系结构。将其更改为“任意CPU”将返回在我的机器上运行应用程序的选项。

在UWP项目的项目属性中,选择本地设备而不是远程设备。他们说的是真的——写下你的想法很有帮助!:)