Connection is closed Xamarin error [EXPERT FIX]

by Milan Stanojevic
Milan Stanojevic
Milan Stanojevic
Windows & Software Expert
Milan has been enthusiastic about technology ever since his childhood days, and this led him to take interest in all PC-related technologies. He's a PC enthusiast and he... read more
Affiliate Disclosure
something went wrong connection is closed xamarin
To fix various PC problems, we recommend DriverFix:
This software will keep your drivers up and running, thus keeping you safe from common computer errors and hardware failure. Check all your drivers now in 3 easy steps:

  1. Download DriverFix (verified download file).
  2. Click Start Scan to find all problematic drivers.
  3. Click Update Drivers to get new versions and avoid system malfunctionings.
  • DriverFix has been downloaded by 0 readers this month.

Xamarin is a software designed by Microsoft that gives you the entire range of tools you need in order to write native Android, iOS, and also Windows applications, but many users reported Something went wrong connection is closed error message.

This error can be very frustrating as it doesn’t allow you to preview your code before exporting it to a virtual Android device, or any other device you use.

For this reason, in this article, we will explore some of the proven methods to fix the Something went wrong connection is closed on Xamarin.

Just opened the Xamarin.Forms Previewer and it says “Something went wrong, Connection is closed” Its a fresh Visual Studio 2017 install and a blank Xamarin Forms Project.

Does anyone know how to solve this problem?

How can I fix Xamarin Forms previewer Connection is closed error?

1. Check Visual Studio settings

  1. Open up Visual Studio.
  2. Select the Tools menu and choose Options.options something went wrong connection is closed xamarin
  3. Inside the options menu, scroll down through the list on the left side, and choose XAML Designer (the last option in the list).
  4. Make sure to enable XAML Designer by ticking the box next to the option.xaml designer something went wrong connection is closed xamarin
  5. Restart Visual Studio for the changes to take effect.
  6. Retry the action that caused the error, to see if the issue is fixed.

2. Close and re-open the XAML file

reopen the XAML file something went wrong connection is closed xamarin

  1. Close the problematic XAML file.
  2. Wait for a few seconds and open it again.
  3. After restarting the XAML file, try previewing it, and check to see if the issue persists.

3. Check your Xamarin.Forms version

  1. Open Visual Studio.
  2. Click on Extensions button from the top menu.manage extensions something went wrong connection is closed xamarin
  3. Inside the Extensions manager window, select Xamarin.Android, or any other extension you want to update and click the Update button.manage extensions window something went wrong connection is closed xamarin
  4. Check the box next to the Automatically update this extension option, so Visual Studio will keep your files updated.
  5. Restart Visual Studio and check to see if the problem persists.

4. Completely uninstall and reinstall the latest Visual Studio version

Here is how to completely uninstall Visual Studio from your PC:

  1. Press the Win Key + X keys on your keyboard, and select Apps and features.
  2. Search for Visual Studio in the list of programs, select it, and click Uninstall.
    uninstall application something went wrong connection is closed xamarin
  3. Wait for the process to finish, and then restart your PC.

In this article we explored some of the best fixes for the Something went wrong. Connection is closed error on Xamarin and Visual Studio.

Please feel free to let us know if this article helped you solve your issue by using the comment section below.


Still having issues? Fix them with this tool:


If the advices above haven't solved your issue, your PC may experience deeper Windows problems. We recommend downloading this PC Repair tool (rated Great on to easily address them. After installation, simply click the Start Scan button and then press on Repair All.

This article covers:Topics: