question

HenrikBarna-3754 avatar image
0 Votes"
HenrikBarna-3754 asked DmitrySt-4593 edited

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

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

windows-uwp
· 16
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Could you please follow the steps from this document to see if it works: Debug UWP apps on remote machines from Visual Studio?


0 Votes 0 ·

I have checked and all steps already done what is mentioned in the Prerequisites, Configure a Visual Studio project for remote debugging and Configure a C# or Visual Basic project for remote debugging section.

However I can't install or copy msvsmon.exe to the Xbox One, or can I? I think the Download and install the Remote Tools for Visual Studio section is not valid for Xbox One.

0 Votes 0 ·
RoyLi-MSFT avatar image RoyLi-MSFT HenrikBarna-3754 ·

When the Remote Connections dialog box, have you tried to use the IP address of the Xbox as the location?

0 Votes 0 ·
RoyLi-MSFT avatar image RoyLi-MSFT HenrikBarna-3754 ·

@HenrikBarna-3754 Any updates about this?

0 Votes 0 ·
Show more comments

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


0 Votes 0 ·
image.png (143.3 KiB)

1 Answer

DmitrySt-4593 avatar image
0 Votes"
DmitrySt-4593 answered DmitrySt-4593 edited

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 :)

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.