Issue with running Xamarin Forms project on Visual Studio 2022

Sreenivasan, Sreejith 885 Reputation points

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?

  1. Sreenivasan, Sreejith 885 Reputation points

    Hi @Jack Dang (WICLOUD CORPORATION) Could you please check this issue and suggest is the VS 2022 17.7 or earlier will fix my problem?


Sign in to comment

Answer accepted by question author and recommended by moderator

Michael Le (WICLOUD CORPORATION) 11,330 Reputation points Microsoft External Staff Moderator

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. Sreenivasan, Sreejith 885 Reputation points

    @Michael Le (WICLOUD CORPORATION) Thanks for your answer, let me work on this and get back to you ASAP.

  2. Sreenivasan, Sreejith 885 Reputation points

    @Michael Le (WICLOUD CORPORATION) I tried installing the VS 17.7.0 and 17.6.22. But on both the Xamarin project is not able to run, the emulator and physical devices are not showing. We have a major issue in the Xamarin project and we need to fix it and make it LIVE. The MAUI migration of the project is still under development. So please help me on this.

  3. Sreenivasan, Sreejith 885 Reputation points

    @@Michael Le (WICLOUD CORPORATION)

    Today, I attempted installing Visual Studio 2019 (16.11.53) and Visual Studio 2022 (17.0.0). On VS 2019, while the devices loaded successfully, the project failed to load due to .NET version conflicts. Conversely, in VS 2022, the project loaded correctly, but the devices did not load. Do you which is the Xamarin supported version?

  4. Sreenivasan, Sreejith 885 Reputation points

    @Michael Le (WICLOUD CORPORATION) Any comments for the latest findings?

  5. Michael Le (WICLOUD CORPORATION) 11,330 Reputation points Microsoft External Staff Moderator

    I’d love to help further, but since Xamarin is no longer actively supported and hasn’t received updates for quite some time, there’s no officially supported fix for these issues.

    I recommend not spending more time trying to fix the “Device List” in VS. Since you’re able to build, you can use the command line to build, adb to install, and logcat to debug, although it is less convenient.


Sign in to comment

2 additional answers

  1. Bruce (SqlWork.com) 84,086 Reputation points

    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. Sreenivasan, Sreejith 885 Reputation points

      @Bruce (SqlWork.com) I have issue in the android part and I need to install the VS on windows. I tried installing the VS 17.7.0 and 17.6.22. But on both the Xamarin project is not able to run, the emulator and physical devices are not showing. We have a major issue in the Xamarin project and we need to fix it and make it LIVE. The MAUI migration of the project is still under development. So please help me on this.

    2. Bruce (SqlWork.com) 84,086 Reputation points

      You don’t specify the mobile o/s you want to publish to.

      I checked, and Nov 1, 2025 was the last date you could publish an Android 13 app. Xamarin only supports up to andriod 13.

      this means you can no longer publish a Xamarin project to either store, as IOS publishing has also expired.

      This means there is no quick fix. finishing the conversion to Maui is probably your only option.

    3. Sreenivasan, Sreejith 885 Reputation points

      @Bruce (SqlWork.com)

      You don’t specify the mobile o/s you want to publish to.

      On Android platform I need to submit the build.

      I checked, and Nov 1, 2025 was the last date you could publish an Android 13 app. Xamarin only supports up to andriod 13.

      I have already published the android version with target API level 35 before Nov 1. On last week also I have submitted a new build with a new fix. So I think there is no issue with publishing xamarin builds. Only problem I am facing is I can't run the app to device or simulator, device and simulators are not showing.

      This means there is no quick fix. finishing the conversion to Maui is probably your only option.

      MAUI migration will take more than a month to finish, we can't wait up to that with this issue in production.

    4. Bruce (SqlWork.com) 84,086 Reputation points

      If you can build, why not just side load.

      sorry, can not help much more. For production android apps we use kotlin not Maui. Even using native tools, we struggle with build chain changes and 3rd party about every 6 months. Though it is getting better.

      i actually work more with iOS where we use swift/swift ui. Main Maui interest is when Maui can build native libraries as our backends are all c#. Though AI may be up to migrating soon.

      in the past we tried cross platform, but the build chains failing, not all 3rd parties being maintained just made too work. We are only a partime mobile team of 3 (still develop web applications) so we simplified to native tools. SwiftUI and JetPack compose are big wins in ui development.

    5. Sreenivasan, Sreejith 885 Reputation points

      @Bruce (SqlWork.com) Thanks for your support.


    Sign in to comment
  2. AI answer

    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:

    AI-generated content may be incorrect. Read our transparency notes for more information.
Sign in to answer

Your answer