在OSX下卸载Xamarin

时间:2021-06-29 03:25:30

To uninstall Xamarin Studio, you'll want to run the following commands from a Terminal:

sudo rm -rf /Applications/Xamarin Studio.app
rm -rf ~/Library/Caches/XamarinStudio-5.0
rm -rf ~/Library/Logs/XamarinStudio-5.0
rm -rf ~/Library/Preferences/XamarinStudio-5.0
rm -rf ~/Library/XamarinStudio-5.0

To uninstall Xamarin.Android, run the following commands in a Terminal:

sudo rm -rf /Developer/MonoDroid
sudo rm -rf /Library/Frameworks/Xamarin.Android.framework
rm -rf ~/Library/MonoAndroid
sudo pkgutil --forget com.xamarin.android.pkg

To uninstall Xamarin.iOS, run the following commands in a Terminal:

sudo launchctl unload /Library/LaunchAgents/com.xamarin.mtvs.buildserver.plist
sudo rm -f /Library/LaunchAgents/com.xamarin.mtvs.buildserver.plist
sudo rm -rf /Developer/MonoTouch
rm -rf ~/Library/MonoTouch
sudo pkgutil --forget com.xamarin.monotouch.pkg
sudo pkgutil --forget com.xamarin.xamarin-ios-build-host.pkg

To uninstall Xamarin.Mac, run the following commands from a Terminal:

[TODO: fill this section in]

To uninstall the Mono MDK, run the following commands from the Terminal:

sudo rm -rf /Library/Frameworks/Mono.framework
sudo pkgutil --forget com.xamarin.mono-MDK.pkg