I seem to have gotten my visual studio 2017 installation into an impossible state.
It started when I wanted to create a setup project to make installation of my solution easier. I found this add on for visual studio 2017 and downloaded and then ran the vsix file. The installation seemed to run fine, though I had to tell it to close visual studio since I still had it running in the background, until it reached the end at which point it hung for a long time. About an hour later I decided to just cancel the installation. When I then tried to go into visual studio, I was presented with the following dialog
I then decided to try and re-run the vsix file, but this time just be patient and wait for it to finish. However, this time I was told that couldn't run because it was already installed.
So. I think, I'll uninstall Visual Studio 2017 and reinstall from scratch.
Nope. The uninstaller hangs on 0% and when I go to close the window...
And finally. I thought. What if I just run the installer again, and install Visual Studio 2017 over the top of itself. That should be fine, and should reset the state of the application to normal. No. I run the installer, and nothing. I see an extraction window with progress bar, but then that disappears. I can see the bootstrapper process in Task Manager, but there is no window. Nothing happens.
So. My question is, is there a way for me to either reset the state of Visual Studio so that it can be used again, or, alternatively, is there a way for me to purge my machine of this application without use of the uninstaller?
Related
I have Visual Studio 2015 version 14.0.25420.01 update 3.
When i start my program from the environment with local debugger and after that try to make a change in the code, most of the times visual studio crashes, and in some i don't see the changes and the keyboard is not responding anymore.
If Visual-studio doesn't crash, i can fix the non-responding keyboard issue by closing and opening the project again, it allows me to continue my work. This problem happen on every project that i am trying to work on, so code doesn't really matter here. I also have earlier versions of Visual Studio and they work fine without this issue. Any ideas?
To be clear: Visual Studio crashes only when i edit my code while running it.
I got the Visual Studio Professional 2015 Update 3 and launched the executable (vs2015.3.exe) while Visual Studio was still running. I got the following "Setup warning" but thought that a computer restart was fine as long as I could work during the update.
Please close visual studio now to reduce the chance that a computer
restart will be required later
Visual Studio immediately started acting strange, loosing Intellisense among others. I decided to restart Visual Studio and was then met with the error:
Cannot run when setup is in progress
I then canceled the update and thought that I could install this update during the night instead. When I opened Visual Studio again and tried to load a project I got the following error:
Project '' could not be opened because the Visual C# 2015 compiler
could not be created. Please re-install Visual Studio.
I then opened Update 3 executable again to complete the update. I was met with this feature list and could not do anything:
Restarted the computer but was met with the same dialog. I then opened Visual Studio again and this time the project loaded but without Intellisense. Restarted Visual Studio and now the project would not load at all. I then deleted the content of these 2 folders and ran devenv /resetsettings
C:\Users\%USERNAME%\AppData\Roaming\Microsoft\VisualStudio\
C:\Users\%USERNAME%\AppData\Local\Microsoft\VisualStudio\14.0\ComponentModelCache
I could now open the Visual Studio project normally again but I still could not get features when running the Update 3 executable. Is there anything else I can do or do I need to reinstall Visual Studio completely? I think it is really bad that the warning Microsoft gives is that a computer restart might be required when obviously the program cannot run in the background while updating.
Solved it by going to Control panel -> Programs and Features -> Microsoft Visual Studio Professional 2015 with Updates. Click "Change" and then select "Repair".
I made a simple project with Visual Studio, but when I try to run it, Visual studio freezes and I have to shut it down. If I launch the executable directly with the explorer, the explorer freezes. I've tried with visual studio 2010, 2013 and 2015, it always freezes.
Dependancy walker find no errors in it. I've sent it to a friend, and he manages to launch it on its computer. I've also tried to run in as administrator, still nothing.
I've tried this on several projects, even some of them that worked years ago, but I still have the problem.
My OS is Windows 10, with the Threshold 2 update.
I am trying to install Multi-Device Hybrid Apps extension on Visual Studio 2013 (Ultimate). But Installation got stuck when Android SDK being install. I have waited for 2 to 3 hours but it stuck there. I have cancelled the process and tried again but same issue.
Can anyone help me to fix this issue?
Thank you
I had a similar problem for Visual Studio 2015 RC1. The Android images take a long time to download, especially if you are downloading other things on the same network and have slow internet.
I found the AndroidSDK_SI.log file in %temp% and it shows it was actually still downloading even after 3 hours!
I believe the installer really needs to show better feedback. It seemed like the installer was hung, but it was actually downloading very slowly. Something as dirty as an option to read the currently running log file being in a text box would even help.
You can also kill the SecondaryInstaller.exe in Task Manager to stop the Android SDK sub-installer. You can then try fix it yourself or Repair Visual Studio if the install continues and completes.
Repair is available by right clicking on Visual Studio in the Microsoft Windows "Programs and Features" control panel section and clicking "Change". This will bring up a Visual Studio dialog where you can Modify or Repair the install.
Every time I close visual studio it tells me that there has been an error.
Eventually it tries to restart visual studio. This only happens when I close Visual Studio. To have it reopen visual studio after I just closed it is a bit frustrating.
Is there a log I can go look at to see what is causing the failure? (I have a few addins installed. And I am hoping that I don't have to uninstall them one by one to see which is causing this issue.)
If it's trying to restart itself, something should show up in the Windows/Applications event log in the Administrative Tools list.