Uninstalling Visual Studio 2015 - windows

I am trying to uninstall Visual Studio Community 2015. It has been hanging on the Preparation step for at least 12 hours. (Left it going over night). I did not want to cancel since I thought it might just be running slowly but now I am thinking that it is stuck. I have also tried repairing and it does the same thing.
Thanks in advance
Chris

To completely uninstall the VS community 2015, you can have a look at this blog and try to forcibly uninstall through the command like vs_community.exe /uninstall /force. It can forcibly remove almost all components.
There also have a visual studio uninstaller tool to cleanup/scorch all Preview/RC/RTM releases of Visual Studio 2013, Visual Studio 2015 and Visual Studio vNext. You can download it from here.
If the uninstall still failed, you use http://aka.ms/vscollect to gather the installation logs. After using it, you will find vslogs.zip under %temp% folder then upload the file to https://onedrive.live.com/ and share the link here.

Related

Visual Studio 2022 Professional Source Control Explorer Stuck in Working

I have a new laptop. After installed Visual Studio 2022, the Source Control Explorer worked. But after I continue to install more other software and deleted some downloaded solution files from TFS, the explorer is stuck in working. It eventually leads to a frozen Visual Studio with busy message.
Using another laptop with Visual Studio 2022 works.
How to debug and fix this issue?
I think your best bet right now would be to uninstall Visual Studio and start from scratch. Depending on what "downloaded solution files" you deleted, something could be seriously messed up with your current installation of VS.
I would do a full re-install and try again. This may end up saving you time versus troubleshooting.

Unity Could not find any supported Visual Studio installations

Problem picture
Environment:
Windows10 Professional Visual Studio 2017 Unity 2017.4.12f1
I changed the default installation path of Visual Studio 2017 and installed it successfully.
The install path as follows:
D:\win10\Program\visual_studio\2017
However, in the Build setting of Unity, it still can't find my Visual Studio 2017.
How can I solve the problem? Thanks~
Go to Edit > Preferences, and select your Visual Studio to be the preferred external editor. Use Browse if Visual Studio is not listed. More info here.
You need to install windows 10 SDK
https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk/
Here's a third answer. I just bumped in to this, and checked that yes VS was the preferred editor, so I went to open up VS to try uninstalling and reinstalling the GameDevWithUnity workflow, but VS popped up a dialog saying I needed to reboot my computer before installation could complete. So it seems like VS was stuck in the middle of an upgrade, which makes it reasonable that Unity couldn't find an appropriate version. I rebooted and everyone is happy.

Visual Studio Professional 2012 uninstallation stuck

I'm trying to uninstall Visual Studio Professional 2012 (I have 2015 now) on Windows 10, but it's stuck on "Applying: Microsoft Visual Studio 2012 Shell (Minimum)." The second loading bar is almost full and won't go higher. I left my laptop on overnight so it could uninstall yet it's still here.
To uninstall the VS 2012, you can check this: How to uninstall Visual Studio 2012 and it describes the manual removal and forcibly uninstall methods. You can first uninstall the main product like VS 2012 professional, then uninstall the other supporting products that may be installed.
Make sure you uninstall the VS 2012 professional by the administrator account and if the manual removal failed, you can try to forcibly uninstall through the command: vs_professional.exe /uninstall /force. It can forcibly remove almost all components and for the detail information, you can have a look at this blog.
If the uninstall still failed, you can use http://aka.ms/vscollect to gather the installation logs. After using it, you will find vslogs.zip under %temp% folder then upload the file to https://onedrive.live.com/ and share the link here.

Visual Studio installer won't go past splash screen

I have visual studio 2013 ultimate installed and recently uninstalled visual studio 2015 community, to upgrade to enterprise 2015.
I had trouble uninstalling 2015, but eventually running the setup and choosing for repair/uninstall did the job. This didn't work for 2013 so I haven't been able to uninstall 2013 yet.
Anyhow, when I try to install enterprise I just get the splash screen for a few seconds, and then it disappears and nothing happens. Which was also the case when I tried to uninstall either visual studio versions earlier.
Why is visual studio such a pain to install/uninstall and how do I solve it?
Thanks!
I got this error I could see the splash screen then it dissapeared and the executable just continued running in the background but no GUI was shown.
A full uinstall and reinstall did not solve the issue.
I solved it by completely removing all the registry settings for Visual Studio 2015 that can be found under:
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio
Remove all subdirectories with 14 in them:
Now when restarting you get to log into your MSDN account and the GUI starts working after that.

Can't uninstall Visual Studio 2015 RC Community

I have been using visual studio 2015 RC community for a little while now, and I found that I can get the full enterprise edition for free from my University. But, after I uninstalled the community edition from the control panel, I still see it in my start menu and it runs as if nothing happened. I saw when searching online, to use the cmd with /uninstall /force but I don't know which application to use it on in the C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE directory to use those on.
Please help me remove this IDE so I can reinstall it.
I know this question is old, but just in case...
To uninstall "Visual Studio 2015 Community" follow these instructions:
Search for vs_community.exe:
cmd (admin rights) -> cd C:\ProgramData\Package Cache\ -> dir /s vs_community.exe
This will provide you with the exact location of vs_community.exe
Uninstall:
cmd (admin rights) -> C:\ProgramData\Package Cache\{*CODE*} -> vs_community.exe /uninstall /force
More information:
https://blogs.msdn.microsoft.com/heaths/2015/07/17/removing-visual-studio-components-left-behind-after-an-uninstall/
NOTE: search vs_community.exe instead of vs_enterprise.exe/vs_ultimate.exe
I hope this can help.
I had the same problem to solve it I downloaded the latest (out of preview ) community visual studio edition and re ran the setup. Choose repair/modify it may solve the problem.
I will recommend you to use 2013 edition as 2015 still feels incomplete and takes a lot of time perform small operation. Intellisense takes a lot of time to initialize and at so many instance it feels unstable.
From the documentation:
Uninstall Visual Studio
https://msdn.microsoft.com/en-us/library/mt720585.aspx
Alternatively, you can use the "Total Uninstaller" tool to remove
everything that Visual Studio or updates to Visual Studio might have
installed. That is, any version of Visual Studio 2013 or later. To
find out more, see the Visual Studio Uninstaller tool on GitHub.
VisualStudioUninstaller
https://github.com/Microsoft/VisualStudioUninstaller

Resources