[UWP][XBOX] Can not deploy UWP app to Xbox One

Henrik Barna 31 Reputation points
2022-05-09T16:27:52.257+00:00

Hello,

I can't deploy my UWP app to my Xbox One. This is the error message I get:

Error: Unable to connect to the Microsoft Visual Studio Remote Debugger named 'XboxOne'. The Visual Studio 2022 Remote Debugger (MSVSMON.EXE) does not appear to be running on the remote computer. This may be because a firewall is preventing communication to the remote computer. Please see Help for assistance on configuring remote debugging.

I started the Xbox in Dev mode and I am able to deploy my uwp package via the web portal but can't directly from Visual Studio.

Please help me because it pretty hard to check everything by creating a package and upload to the Xbox via web browser.

Thanks in advance.

Regards,
Henrik

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
35,926 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Dmitry St 1 Reputation point
    2022-06-19T13:03:52.893+00:00

    I have solved the same issue by changing the target version in "Application Settings"
    from "Windows 11" to "Windows 10, version 2004".

    Though it works, it still didn't ask for Pin :)

    0 comments No comments

  2. Soft Works 0 Reputation points
    2024-02-16T06:05:23.5033333+00:00

    I had experienced the exact same symptoms when trying to connect and debug a UWP app on xbox. It turned out that it was the Windows firewall which caused the issue. After disabling "Windows Defender Firewall with Advanced Security" it finally worked. It's really unfortunate that the error doesn't give a useful hint on the issues. At least there's some documentation telling which ports need to be allowed: https://learn.microsoft.com/en-us/visualstudio/debugger/configure-the-windows-firewall-for-remote-debugging?view=vs-2022 BTW, I couldn't reproduce any dependency on the target version. It's still working for me with the target Windows version set to "Windows 11 Build 22000"

    0 comments No comments