Issue with running Xamarin Forms project on Visual Studio 2022

Sreenivasan, Sreejith 195 Reputation points
2025-11-18T09:10:00.3033333+00:00

I have a Xamarin Forms project and I am not able to run it on my Visual studio. The problem is the emulator and physical device are also not showing in the VS to run.

VS version: Microsoft Visual Studio Professional 2022 (64-bit) - Current Version 17.14.18 (October 2025)

Is there any way to show the emulator or physical device on the VS? I am currently working on its MAUI migration, but there is an issue on the LIVE app in production, so I need to fix it and push it now.

I saw Xamarin support existed up to VS 2022 17.7. If I install the 17.7 or earlier am I able to run the xamarin app?

Developer technologies | .NET | Xamarin
{count} votes

3 answers

Sort by: Most helpful
  1. Michael Le (WICLOUD CORPORATION) 5,065 Reputation points Microsoft External Staff Moderator
    2025-11-20T06:51:40.8966667+00:00

    Hello Sreenivasan,

    Yes, if you install 17.7 or earlier, you should be able to run your Xamarin app, but please keep in mind that it Xamarin is out of support. For Enterprise and Professional users, you can download previous versions from here.

    But first, try these quick checks on 17.14:

    • Check the workload, ensure Xamarin is installed. User's image
    • Restart ADB from Visual Studio (Tools > Android > Restart ADB Server) or run adb kill-server and adb start-server in the ADB command prompt.
    • Make sure your Android SDK path is set correctly in Tools > Options > Xamarin > Android Settings.
    • Check for the device list in ADB command prompt: adb devices. User's image
    • For a physical device, enable Developer Options and USB debugging, use a good cable.
    • For emulators, open Android Device Manager, start an emulator manually, then refresh the device list in Visual Studio.
    • Stick to Android 14 or lower for physical devices, API 34 for emulators.

    If nothing works, install 17.7 or earlier as you mentioned alongside your current version.

    I hope this clarifies.

    1 person found this answer helpful.

  2. Bruce (SqlWork.com) 81,726 Reputation points Volunteer Moderator
    2025-11-20T19:58:46.84+00:00

    If it’s an IOS project, the supported version of Xcode is not late enough to sign, so can’t publish a fix. I’m less familiar with Android, but the xamarin tool chain may also face similar issues.

    note: with mobile apps you can generally only be one generation of the tools behind. Going forward you should do tool sdk upgrades every 6 months and full upgrade every year. Budget time for the upgrades.

    1 person found this answer helpful.

  3. Q&A Assist
    2025-11-18T09:10:24.94+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    To resolve the issue of not seeing the emulator or physical device in Visual Studio 2022 for your Xamarin Forms project, you can try the following steps:

    1. Check Emulator Configuration: Ensure that your Android emulator is properly configured and running. You can check this by opening the Android Device Manager from Visual Studio and verifying that your emulator is listed and started.
    2. Install Necessary SDKs: Make sure that you have the required Android SDKs installed. You can do this through the Visual Studio Installer by modifying your installation and ensuring that the Mobile development with .NET workload is selected, along with the necessary Android SDK components.
    3. Update Visual Studio: Since you mentioned that Xamarin support exists up to Visual Studio 2022 version 17.7, consider installing this version or an earlier one if you're currently on a later version. This may help in resolving compatibility issues.
    4. Check Device Connection: If you are using a physical device, ensure that USB debugging is enabled on the device and that it is properly connected to your development machine. You may also need to install the appropriate drivers for your device.
    5. Restart Visual Studio: Sometimes, simply restarting Visual Studio can refresh the device list and resolve any temporary issues.
    6. Check for Updates: Look for any updates for Visual Studio or the Xamarin tools that might address known issues with device detection.

    If these steps do not resolve the issue, you may want to check the Visual Studio Developer Community for similar problems and solutions.


    References:

    0 comments No comments

Your answer

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