0

If I run a maui project from command line such as

> dotnet build -f net9.0-android .\MyMauiProject.csproj -t:Run

This starts the app in the USB attached Android Device.

How can I attach to it from Visual Studio 2022?

2
  • maybe Debug / Attach to process? Any reason you don’t use VS Build/Configuration Manager; then Debug menu and toolbar to build and deploy? Thus avoiding a separate attach step. Commented Jul 31 at 18:50
  • I don't find the Android process when I try Attach to process. I can only debug when I run it in visual studio. Commented Aug 1 at 13:39

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.