Меню Рубрики

Visual studio mac os uninstall

Uninstalling Visual Studio for Mac

You can use this guide to uninstall each component in Visual Studio for Mac individually by navigating to the relevant section, or you can use the scripts provided in the Uninstall Script section to uninstall everything.

This information will only remove Visual Studio 2019 or 2017 for Mac from your machine. to uninstall Visual Studio Code, see this issue for details.

Uninstall Script

There are two scripts that can be used to uninstall Visual Studio for Mac and all components for your machine:

The following sections provide information on downloading and using the scripts.

Visual Studio for Mac and Xamarin script

You can uninstall Visual Studio and Xamarin components in one go by using the uninstall script.

This uninstall script contains most of the commands that you will find in the article. There are three main omissions from the script and are not included due to possible external dependencies. To remove this, jump to the relevant section below and remove them manually:

To run the script, do the following steps:

Right-click on the script and select Save As to save the file on your Mac.

Open Terminal and change the working directory to where the script was downloaded:

Make the script executable and the run it with sudo:

Finally, delete the uninstall script and remove Visual Studio for Mac from the dock (if it’s there).

.NET Core script

The uninstall script for .NET Core is located in the dotnet cli repo

To run the script, do the following steps:

Right-click on the script and select Save As to save the file on your Mac.

Open Terminal and change the working directory to where the script was downloaded:

Make the script executable and the run it with sudo:

Finally, delete the .NET Core uninstall script.

Uninstall Visual Studio for Mac

The first step in uninstalling Visual Studio from a Mac is to locate Visual Studio.app in the /Applications directory and drag it to the Trash Can. Alternatively, right-click and select Move to Trash as illustrated in the following image:

Deleting this app bundle removes Visual Studio for Mac, even though there may be other files related to Xamarin still on the file system.

To remove all traces of Visual Studio for Mac, run the following commands in Terminal:

You may also want to remove the following directory containing various Xamarin files and folders. However, before you do you should be aware that this directory contains the Android signing keys. For more information refer to the section Uninstalling Android SDK and Java SDK:

Uninstall Mono SDK (MDK)

Mono is an open-source implementation of Microsoft’s .NET Framework and is used by all Xamarin Products—Xamarin.iOS, Xamarin.Android, and Xamarin.Mac to allow development of these platforms in C#.

There are other applications outside of Visual Studio for Mac that also use Mono, such as Unity. Be sure that there are no other dependencies on Mono before uninstalling it.

To remove the Mono Framework from a machine, run the following commands in Terminal:

Uninstall Xamarin.Android

There are a number of items required for the installation and use of Xamarin.Android, such as the Android SDK and Java SDK.

Use the following commands to remove Xamarin.Android:

Uninstall Android SDK and Java SDK

The Android SDK is required for development of Android applications. To completely remove all parts of the Android SDK, locate the file at

/Library/Developer/Xamarin/ and move it to Trash.

You should be aware that Android signing keys that are generated by Visual Studio for Mac are located in

/Library/Developer/Xamarin/Keystore . Make sure to back these up appropriately, or avoid removing this directory if you wish to keep your keystore.

The Java SDK (JDK) does not need to be uninstalled, as it is already pre-packaged as part of Mac OS X / macOS.

Uninstall Android AVD

There are other applications outside of Visual Studio for Mac that also use Android AVD and these additional android components, such as Android Studio.Removing this directory may cause projects to break in Android Studio.

To remove any Android AVDs and additional Android components use the following command:

To remove only the Android AVDs use the following command:

Uninstall Xamarin.iOS

Xamarin.iOS allows iOS application development using C# or F# with Visual Studio for Mac.

Use the following commands in Terminal to remove all Xamarin.iOS files from a file system:

Uninstall Xamarin.Mac

Xamarin.Mac can be removed from your machine using the following two commands to eradicate the product and license from your Mac respectively:

Uninstall Workbooks and Inspector

Starting with 1.2.2, Xamarin Workbooks & Inspector can be uninstalled from a terminal by running:

For older versions, you need to manually remove the following artifacts:

  • Delete the Workbooks app at «/Applications/Xamarin Workbooks.app»
  • Delete the Inspector app at «Applications/Xamarin Inspector.app»
  • Delete the add-ins: «

/Library/Application Support/XamarinStudio-6.0/LocalInstall/Addins/Xamarin.Interactive» and «

/Library/Application Support/XamarinStudio-6.0/LocalInstall/Addins/Xamarin.Inspector»

  • Delete Inspector and supporting files here: /Library/Frameworks/Xamarin.Interactive.framework and /Library/Frameworks/Xamarin.Inspector.framework
  • Uninstall the Xamarin Profiler

    Uninstall the Visual Studio Installer

    Use the following commands to remove all traces of the Xamarin Universal Installer:

    Uninstall Visual Studio 2019 for Mac Preview

    Visual Studio 2019 for Mac Preview was launched as a separate preview, allowing you to continue to work with your Visual Studio 2017 for Mac install side-by-side.

    Now that Visual Studio 2019 for Mac has been released, you can now safely remove the Visual Studio 2019 for Mac Preview application.

    To uninstall the preview application bundle, select Visual Studio (Preview) from your Applications folder and click Move to Trash, as depicted in the following image:

    You can also remove the Preview plist file with the following command:

    Источник

    Удаление Visual Studio для Mac Uninstalling Visual Studio for Mac

    Используйте это руководство для удаления индивидуальных компонентов Visual Studio для Mac, перейдя в соответствующий раздел, или воспользуйтесь скриптами, приведенными в разделе Скрипт удаления, чтобы удалить все. You can use this guide to uninstall each component in Visual Studio for Mac individually by navigating to the relevant section, or you can use the scripts provided in the Uninstall Script section to uninstall everything.

    Эта информация позволяет удалить с вашего компьютера только Visual Studio 2019 или 2017 для Mac. This information will only remove Visual Studio 2019 or 2017 for Mac from your machine. Сведения об удалении Visual Studio Code см. в этом вопросе. to uninstall Visual Studio Code, see this issue for details.

    Скрипт удаления Uninstall Script

    Существуют два скрипта, которые можно использовать для удаления Visual Studio для Mac и всех компонентов на своем компьютере. There are two scripts that can be used to uninstall Visual Studio for Mac and all components for your machine:

    Следующие разделы содержат сведения о скачивании и использовании этих скриптов. The following sections provide information on downloading and using the scripts.

    Скрипт Visual Studio для Mac и Xamarin Visual Studio for Mac and Xamarin script

    Вы можете удалить компоненты Visual Studio и Xamarin за один раз с помощью скрипта удаления. You can uninstall Visual Studio and Xamarin components in one go by using the uninstall script.

    Этот скрипт содержит основную часть команд, приведенных в этой статье. This uninstall script contains most of the commands that you will find in the article. Из-за наличия возможных внешних зависимостей в этом скрипте опущено два аспекта: There are three main omissions from the script and are not included due to possible external dependencies. В таком случае перейдите в соответствующий раздел ниже и удалите их вручную: To remove this, jump to the relevant section below and remove them manually:

    Чтобы запустить скрипт, выполните следующее. To run the script, do the following steps:

    Щелкните скрипт правой кнопкой мыши и выберите Сохранить как, чтобы сохранить файл на устройстве Mac. Right-click on the script and select Save As to save the file on your Mac.

    Откройте терминал и измените рабочий каталог на папку, куда был скачан скрипт: Open Terminal and change the working directory to where the script was downloaded:

    Сделайте скрипт исполняемым и запустите его с помощью sudo: Make the script executable and the run it with sudo:

    Наконец, удалите скрипт удаления и Visual Studio для Mac с панели закрепления (если программа там есть). Finally, delete the uninstall script and remove Visual Studio for Mac from the dock (if it’s there).

    Скрипт .NET Core .NET Core script

    Скрипт удаления для .NET Core находится в репозитории dotnet CLI The uninstall script for .NET Core is located in the dotnet cli repo

    Чтобы запустить скрипт, выполните следующее. To run the script, do the following steps:

    Щелкните скрипт правой кнопкой мыши и выберите Сохранить как, чтобы сохранить файл на устройстве Mac. Right-click on the script and select Save As to save the file on your Mac.

    Откройте терминал и измените рабочий каталог на папку, куда был скачан скрипт: Open Terminal and change the working directory to where the script was downloaded:

    Сделайте скрипт исполняемым и запустите его с помощью sudo: Make the script executable and the run it with sudo:

    Наконец, удалите скрипт удаления .NET Core. Finally, delete the .NET Core uninstall script.

    Удаление Visual Studio для Mac Uninstall Visual Studio for Mac

    Первый шаг при удалении Visual Studio с Mac заключается в поиске файла Visual Studio.app в каталоге /Applications и перетаскивании его в корзину. The first step in uninstalling Visual Studio from a Mac is to locate Visual Studio.app in the /Applications directory and drag it to the Trash Can. Можно также щелкнуть правой кнопкой мыши и выбрать пункт Переместить в удаленные, как показано на следующем рисунке: Alternatively, right-click and select Move to Trash as illustrated in the following image:

    Удаление этого набора приложений приводит к удалению Visual Studio для Mac, даже если в файловой системе остались другие файлы, связанные с Xamarin. Deleting this app bundle removes Visual Studio for Mac, even though there may be other files related to Xamarin still on the file system.

    Чтобы удалить все следы Visual Studio для Mac, выполните в терминале следующие команды. To remove all traces of Visual Studio for Mac, run the following commands in Terminal:

    Можно также удалить следующий каталог, содержащий разные папки и файлы Xamarin. You may also want to remove the following directory containing various Xamarin files and folders. Но учитывайте, что этот каталог содержит ключи подписывания Android. However, before you do you should be aware that this directory contains the Android signing keys. См. дополнительные сведения об удалении пакета SDK для Android и пакета SDK для Java : For more information refer to the section Uninstalling Android SDK and Java SDK:

    Удаление Mono SDK (MDK) Uninstall Mono SDK (MDK)

    Mono представляет собой реализацию .NET Framework Майкрософт с открытым исходным кодом и используется всеми продуктами Xamarin (Xamarin.iOS, Xamarin.Android и Xamarin.Mac), чтобы обеспечить разработку на C# в рамках этих платформ. Mono is an open-source implementation of Microsoft’s .NET Framework and is used by all Xamarin Products—Xamarin.iOS, Xamarin.Android, and Xamarin.Mac to allow development of these platforms in C#.

    Существуют и другие приложения, не входящие в Visual Studio для Mac, которые используют Mono, например Unity. There are other applications outside of Visual Studio for Mac that also use Mono, such as Unity. Перед удалением Mono убедитесь в отсутствии зависимостей от нее. Be sure that there are no other dependencies on Mono before uninstalling it.

    Чтобы удалить платформу Mono с компьютера, выполните следующие команды в терминале: To remove the Mono Framework from a machine, run the following commands in Terminal:

    Удаление Xamarin.Android Uninstall Xamarin.Android

    Существует несколько элементов, необходимых для установки и использования Xamarin.Android, таких как пакет SDK для Android и пакет SDK для Java. There are a number of items required for the installation and use of Xamarin.Android, such as the Android SDK and Java SDK.

    Для удаления Xamarin.Android используйте следующие команды: Use the following commands to remove Xamarin.Android:

    Удаление пакета SDK для Android и пакета SDK для Java Uninstall Android SDK and Java SDK

    Пакет SDK для Android требуется для разработки приложений Android. The Android SDK is required for development of Android applications. Чтобы полностью удалить все части пакета SDK для Android, найдите файл в папке

    /Library/Developer/Xamarin/ и переместите его в корзину. To completely remove all parts of the Android SDK, locate the file at

    /Library/Developer/Xamarin/ and move it to Trash.

    Учтите, что ключей подписывания Android, создаваемые с помощью Visual Studio для Mac, находятся в

    /Library/Developer/Xamarin/Keystore . You should be aware that Android signing keys that are generated by Visual Studio for Mac are located in

    /Library/Developer/Xamarin/Keystore . Выполните их резервное копирование соответствующим образом или не удаляйте этот каталог, чтобы сохранить хранилище ключей. Make sure to back these up appropriately, or avoid removing this directory if you wish to keep your keystore.

    Пакет SDK для Java (JDK) не требуется удалять, так как он уже входит в состав Mac OS X и macOS. The Java SDK (JDK) does not need to be uninstalled, as it is already pre-packaged as part of Mac OS X / macOS.

    Удаление Android AVD Uninstall Android AVD

    Существуют и другие приложения, не входящие в Visual Studio для Mac, которые используют Android AVD и указанные дополнительные компоненты Android, например Android Studio. Удаление этого каталога может привести к нарушению работы проектов в Android Studio. There are other applications outside of Visual Studio for Mac that also use Android AVD and these additional android components, such as Android Studio.Removing this directory may cause projects to break in Android Studio.

    Для удаления Android AVD и дополнительных компонентов Android используйте следующую команду: To remove any Android AVDs and additional Android components use the following command:

    Для удаления только Android AVD используйте следующую команду: To remove only the Android AVDs use the following command:

    Удаление Xamarin.iOS Uninstall Xamarin.iOS

    Xamarin.iOS позволяет разрабатывать приложения iOS на языках C# и F# в Visual Studio для Mac. Xamarin.iOS allows iOS application development using C# or F# with Visual Studio for Mac.

    Выполните следующие команды в терминале для удаления всех файлов Xamarin.iOS из файловой системы: Use the following commands in Terminal to remove all Xamarin.iOS files from a file system:

    Удаление Xamarin.Mac Uninstall Xamarin.Mac

    Удалить продукт Xamarin.Mac и его лицензию с компьютера Mac можно с помощью двух соответствующих команд: Xamarin.Mac can be removed from your machine using the following two commands to eradicate the product and license from your Mac respectively:

    Удаление Workbooks и Inspector Uninstall Workbooks and Inspector

    Начиная с версии 1.2.2, Xamarin Workbooks и Inspector можно удалить из терминала с помощью следующей команды: Starting with 1.2.2, Xamarin Workbooks & Inspector can be uninstalled from a terminal by running:

    В более старых версиях требуется вручную удалить следующие артефакты: For older versions, you need to manually remove the following artifacts:

    • Приложение Workbooks в «/Applications/Xamarin Workbooks.app» Delete the Workbooks app at «/Applications/Xamarin Workbooks.app»
    • Приложение Inspector в «Applications/Xamarin Inspector.app» Delete the Inspector app at «Applications/Xamarin Inspector.app»
    • Надстройки «

    /Library/Application Support/XamarinStudio-6.0/LocalInstall/Addins/Xamarin.Interactive» и «

    /Library/Application Support/XamarinStudio-6.0/LocalInstall/Addins/Xamarin.Inspector» Delete the add-ins: «

    /Library/Application Support/XamarinStudio-6.0/LocalInstall/Addins/Xamarin.Interactive» and «

    /Library/Application Support/XamarinStudio-6.0/LocalInstall/Addins/Xamarin.Inspector»

  • Inspector и вспомогательные файлы /Library/Frameworks/Xamarin.Interactive.framework и /Library/Frameworks/Xamarin.Inspector.framework Delete Inspector and supporting files here: /Library/Frameworks/Xamarin.Interactive.framework and /Library/Frameworks/Xamarin.Inspector.framework
  • Удаление Xamarin Profiler Uninstall the Xamarin Profiler

    Удаление установщика Visual Studio Uninstall the Visual Studio Installer

    Чтобы удалить все следы универсального установщика Xamarin, используйте следующие команды: Use the following commands to remove all traces of the Xamarin Universal Installer:

    Удаление Visual Studio 2019 для Mac (предварительная версия) Uninstall Visual Studio 2019 for Mac Preview

    Предварительная версия Visual Studio 2019 для Mac была запущена как отдельная предварительная версия, поэтому вы можете параллельно продолжать работу с Visual Studio 2017 для Mac. Visual Studio 2019 for Mac Preview was launched as a separate preview, allowing you to continue to work with your Visual Studio 2017 for Mac install side-by-side.

    Теперь, когда была выпущена Visual Studio 2019 для Mac, можно безопасно удалить предварительную версию Visual Studio 2019 для Mac. Now that Visual Studio 2019 for Mac has been released, you can now safely remove the Visual Studio 2019 for Mac Preview application.

    Чтобы удалить пакет предварительной версии, выберите Visual Studio (предварительная версия) в папке Приложения и нажмите Переместить в корзину, как показано на следующем изображении: To uninstall the preview application bundle, select Visual Studio (Preview) from your Applications folder and click Move to Trash, as depicted in the following image:

    Можно также удалить файл plist предварительной версии, выполнив следующую команду: You can also remove the Preview plist file with the following command:

    Источник

    Добавить комментарий

    Ваш адрес email не будет опубликован. Обязательные поля помечены *

  • Visual studio for mac os
  • Visual studio community mac os
  • Visual studio code mac os x
  • Visual basic для mac os
  • Visio аналог для mac os