Remote debugging macos catalyst app from visual studio 2022 on windows

Andy 1977 1 Reputation point
2022-12-16T23:34:30.57+00:00

Dear Community,

i want to debug a mac os .net maui application from windows with visual studio 2022.
It is possible?
I can only find how to debug a ios application and pairing my pc with my mac.
I own a mac mini m1 which i can connect via ethernet with my pc.

Sorry, when someone asked this question in the past.

Regards

Andy

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,026 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 36,246 Reputation points Microsoft External Staff
    2022-12-19T02:19:01.977+00:00

    Hello @Andy 1977 ,

    .NET MAUI apps that target Mac Catalyst can only be launched and debugged using Visual Studio 2022 for Mac. For more details, you can refer to Build your first .NET MAUI app - .NET MAUI | Microsoft Learn

    As you said, pairing to Mac is for iOS development (not macOS) and it can access to Apple's build tools. For more details, you can refer to Pair to Mac for iOS development - .NET MAUI | Microsoft Learn

    Best Regards,
    Wenyan Zhang


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.