如何解决“无法使用通用身份验证连接到设备‘127.0.0.1’”?

Sco*_*rnz 3 uwp

每次尝试将 UWP 应用程序部署到本地设备时,我都会收到此错误。

Severity Code Description Project File Line Suppression State Error DEP6957: Failed to connect to device '127.0.0.1' using Universal Authentication. Please verify the correct remote authentication mode is specified in the project debug settings. COMException - No connection could be made because the target machine actively refused it. (Exception from HRESULT: 0x8007274D) [0x8007274D] Voip

我对如何解决此问题的想法完全为零,因为似乎遇到此问题的其他所有人都在尝试连接到远程设备。

小智 19

我得到了同样的错误。当我在 Visual Studio 的配置管理器中将平台更改为 x86(或 x64)时,问题就消失了。

在此处输入图片说明