Factsheet
Videos
does anyone know why I can't install visual studio 2022 on my Mac? it just downloads a .exe file that I can't open
In case anyone else having the same question visited here, please visit the official guide.
The following is quoted from the original guide which was updated at 2017-4-14.
Uninstall Visual Studio for Mac App
Step 1. Locate Visual Studio.app in the /Applications directory and drag it to the Trash Can. Alternatively, right-click and select Move to Trash.
Step 2. Remove all traces of Visual Studio for Mac
Execute the following commands in your terminal:
sudo rm -rf "/Applications/Visual Studio.app" rm -rf ~/Library/Caches/VisualStudio rm -rf ~/Library/Preferences/VisualStudio rm -rf "~/Library/Preferences/Visual Studio" rm -rf ~/Library/Logs/VisualStudio rm -rf ~/Library/VisualLodStudioUninstall Xamarin.Android
sudo rm -rf /Developer/MonoDroid rm -rf ~/Library/MonoAndroid sudo pkgutil --forget com.xamarin.android.pkg sudo rm -rf /Library/Frameworks/Xamarin.Android.frameworkUninstall Xamarin.iOS
rm -rf ~/Library/MonoTouch sudo rm -rf /Library/Frameworks/Xamarin.iOS.framework sudo rm -rf /Developer/MonoTouch sudo pkgutil --forget com.xamarin.monotouch.pkg sudo pkgutil --forget com.xamarin.xamarin-ios-build-host.pkgUninstall Xamarin.Mac
sudo rm -rf /Library/Frameworks/Xamarin.Mac.framework rm -rf ~/Library/Xamarin.MacUninstall Workbooks and Inspector
sudo /Library/Frameworks/Xamarin.Interactive.framework/Versions/Current/uninstallUninstall the Visual Studio Installer
rm -rf ~/Library/Caches/XamarinInstaller/ rm -rf ~/Library/Caches/VisualStudioInstaller/ rm -rf ~/Library/Logs/XamarinInstaller/ rm -rf ~/Library/Logs/VisualStudioInstaller/ rm -rf ~/Library/Preferences/Xamarin/ rm -rf "~/Library/Preferences/Visual Studio/"Uninstall Mono SDK (MDK)
Warning
There are other applications outside of Xamarin which also use Mono, such as Unity. Be sure that there are no other dependencies on Mono before uninstalling it.
sudo rm -rf /Library/Frameworks/Mono.framework sudo pkgutil --forget com.xamarin.mono-MDK.pkg
Other apps with name prefix Xamarin
The official guide didn't mention it, but I found there were other apps named Xamarin.xxxx in my library directory. I simply moved them to trash.
May be this would be better solution (no need to follow each step): https://raw.githubusercontent.com/MicrosoftDocs/visualstudio-docs/master/mac/resources/uninstall-vsmac.sh :
#!/bin/sh
# Uninstall Visual Studio for Mac
echo "Uninstalling Visual Studio for Mac..."
sudo rm -rf "/Applications/Visual Studio.app"
rm -rf ~/Library/Caches/VisualStudio
rm -rf ~/Library/Preferences/VisualStudio
rm -rf "~/Library/Preferences/Visual Studio"
rm -rf ~/Library/Logs/VisualStudio
rm -rf ~/Library/VisualStudio
rm -rf ~/Library/Preferences/Xamarin/
rm -rf ~/Library/Developer/Xamarin
# Uninstall Xamarin.Android
echo "Uninstalling Xamarin.Android..."
sudo rm -rf /Developer/MonoDroid
rm -rf ~/Library/MonoAndroid
sudo pkgutil --forget com.xamarin.android.pkg
sudo rm -rf /Library/Frameworks/Xamarin.Android.framework
# Uninstall Xamarin.iOS
echo "Uninstalling Xamarin.iOS..."
rm -rf ~/Library/MonoTouch
sudo rm -rf /Library/Frameworks/Xamarin.iOS.framework
sudo rm -rf /Developer/MonoTouch
sudo pkgutil --forget com.xamarin.monotouch.pkg
sudo pkgutil --forget com.xamarin.xamarin-ios-build-host.pkg
# Uninstall Xamarin.Mac
echo "Uninstalling Xamarin.Mac..."
sudo rm -rf /Library/Frameworks/Xamarin.Mac.framework
rm -rf ~/Library/Xamarin.Mac
# Uninstall Workbooks and Inspector
echo "Uninstalling Workbooks and Inspector..."
sudo /Library/Frameworks/Xamarin.Interactive.framework/Versions/Current/uninstall
# Uninstall the Visual Studio for Mac Installer
echo "Uninstalling the Visual Studio for Mac Installer..."
rm -rf ~/Library/Caches/XamarinInstaller/
rm -rf ~/Library/Caches/VisualStudioInstaller/
rm -rf ~/Library/Logs/XamarinInstaller/
rm -rf ~/Library/Logs/VisualStudioInstaller/
# Uninstall the Xamarin Profiler
echo "Uninstalling the Xamarin Profiler..."
sudo rm -rf "/Applications/Xamarin Profiler.app"
echo "Finished Uninstallation process."
If you haven't dealt with bash script before, you may look at its documentation too: https://docs.microsoft.com/en-us/visualstudio/mac/uninstall
Actually, it is pretty easy. Create a file with extension .sh (for example, vsremover.sh) and paste the code above. Save. Open terminal application, go to the place where you saved the file (for example: cd /Users/yourname/Desktop) and type the following:
chmod +x vsremover.sh
Then run it:
./vsremover.sh
Yes! You can use the new Visual Studio for Mac, which Microsoft launched in November.
Read about it here: https://msdn.microsoft.com/magazine/mt790182
Download a preview version here: https://www.visualstudio.com/vs/visual-studio-mac/
I recently purchased a MacBook Air (mid-2011 model) and was really happy to find that Apple officially supports Windows 7. If you purchase Windows 7 (I got DSP), you can use the Boot Camp assistant in OSX to designate part of your hard drive to Windows. Then you can install and run Windows 7 natively as if it were as Windows notebook.
I use Visual Studio 2010 on Windows 7 on my MacBook Air (I kept OSX as well) and I could not be happier. Heck, the initial start-up of the program only takes 3 seconds thanks to the SSD.
As others have mentions, you can run it on OSX using Parallels, etc. but I prefer to run it natively.
Hi ,
you can check the link below :
https://visualstudio.microsoft.com/fr/downloads/?wt.mc_id=MVP_328341
Hope this helps.
If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.
Hello @ZN,
Welcome to Microsoft Q&A forum.
If you have a valid subscription, then "Visual Studio 2019 for Mac" should be available here: Donwloads โ Visual Studio 2019 for Mac.
The valid subscription is usually a paid level subscription. Note that "Visual Studio Dev Essentials" is not a valid subscription in this situation.
BTW, as VS 2019 for Mac ended of support on May 23, 2022, and VS for Mac is scheduled for retirement by August 31, 2024, did you consider using alternatives like the C# Dev Kit for Visual Studio Code?
Sincerely,
Tianyu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.