Unable to run Visual Studio 2017 Enterprise update for December 2020 - visual-studio-2017

Currently I have two servers with Visual Studio 2017 Enterprise that I have to update manually each month for Microsoft's patches. This has worked fine since requesting it not be blocked by McAfee since Winter 2019-2020.
However, back in December 2020, I ran the updates and they said they were fine. They had the version of 15.9.29 in early December (before 12/8/2020 patch).
After the new patch came out on the 8th of December, I tried running the updates for VS and found that VS told me it was up to date and did not pull down any updates. I know that is wrong because 15.9.30 came out back on 12/8/2020. The only message I get is I'm up to date and the system goes on.
I tried running the updates from both the application and the installer, neither of which noted a new update.
One thought I had on this issue is our team was being blocked again by McAfee, but there is no new block for it. VS just doesn't seem to want to pull down the update.
Are there any tricks (short of reinstalling) to force an update for VS 2017 Enterprise?

Update: I ended up reinstalling Visual Studio 2017 Enterprise. It appears to be okay but I will have to wait for a new update before finding out.

Related

Visual Studio 2017 (any edition) not longer able to install or update on Windows 10

I have the problem that I cannot update or install Visual Studio anymore on my system.
Today I saw that a newer Visual Studio 2017 version was released and I tried to start the VS installer for the update process. The start for the installer was just spinning but nothing happened. After that I tried to start the installer separately from VS but it didn't work either.
So I continued to make an even bigger mistake by assuming my installed version is bad and to completely reinstall Visual Studio by uninstalling and then trying to start the normal installation process.
Unfortunately it didn't work.
After downloading the webinstaller, it downloads the installer packages it needs but the vs_installer.exe itself will never run successfully afterwards (also if started manually).
There is no error shown directly. It just does not start. The EventViewer is also not showing any errors I would say have a connection to the problem.
Any ideas? Thanks!
After a bit of communication with the Visual Studio team they pointed me to the only thing they know could cause this issue.
Some time ago I added an environment variable to my system named NODE_OPTIONS. It was necessary because the builds of our Angular applications are so big that we had to adjust the available memory size.
Removing the environment variable enabled me to start vs_installer.exe and to reinstall Visual Studio again.
It's a bit obscure and not many people will have this problem. But I hope Microsoft will fix it anyway.
P.S. The silent crash is caused by the usage of Electron for the Visual Studio installer. The person from Microsoft, who helped me to workaround the problem, told me that they are working on a fix.

The setup for this installation of visual studio is not complete, really?

I have been using Vs 2017 for several months on dev machine. This fine morning says setup incomplete. Am I missing something?
In this case you need to go to Control Panel => Programs and Features and choose Visual Studio and update it.
VS 2017 (15.6.6) was fine for me on Friday 6/1/18 on Windows 10, but same issue as OP today after a restart.
As suggested by the dialog and Retired Ninja, I ran the Visual Studio Installer (to 15.7.3 after updating VS Installer) and that fixed it.
Note that the 15.7.3 update was a 7.73 GB download. Your download size may vary.
This has happened to me for the last 3 upgrades in Visual Studio Enterprise 2017 (now again on upgrade to 15.9.21).
The fastest fix (and I'm not sure why) is simple and doesn't bomb your settings or take for ever.
In the Visual Studio Installer, click on Modify.
Click "Modify" on the bottom right corner.
Yes it says "Total space required 0 KB".
Yes you didn't really change anything.
It will then act like it is downloading something. (not sure what)
It will then act like it is installing something. (again, not sure what)
Open Visual Studio 2017 and it works.
Hope this helps.
If you have an offline installation like me and can't simply re-run the Visual Studio Installer you can edit devenv.isolation.ini and change the last line to read SetupFinished=true. It will detect your trickery and complain, but at least it will launch again.
Edit: I ended up getting the Visual Studio Installer to fix the issue after choosing the "Download then Install" option. Maybe I was too impatient when I initially stopped the update? My above answer is useful when you need to get work done that isn't affected by the broken features, but you will likely encounter problems later on.
just had the same problem (without any reason with) vs 2019 prof, after googling and reading on that topic, just went to vsix, looked for some individual component to install/uninstall, randomly picked cloud explorer, uninstalled it and some dependent components and VS 2019 prof started normally
decided to leave this here. may be it helps somebody
Solved: I did following steps, run the visual studio and it works for me.
In my case visual studio was working fine , I just restarted the PC, this popup was keep coming when I try to open visual studio.(in my case I was using VS 2019)
Go to this path "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\IDE"
Open devenv.isolation.ini, set SetupFinished=true and save.
Now open visual studio.
Cheers!
In my case did following steps:
Clear temp files (you can %temp% in run command and Shift+Delete files)
Restart your computer
Open visual studio it will work properly.
Update: Faced problem again after couple of days, This time I go to C:\Program Files (x86)\Microsoft Visual Studio\Installer.
Click on retry.
Select one more feature which I had already installed on my Visual Studio
Click on modified and after installation it worked again.
This happened to me after I canceled a plugin update.
I solved by going to this site that has the latest update of Visual Studio.
https://learn.microsoft.com/en-us/visualstudio/releasenotes/vs2017-relnotes
I downloaded and upgraded it.
After that, Visual Studio worked.
If your VS is already upgraded, thereĀ“s an option to "repair" on the installer.
For this problem, goto uninstall screen in control panel right-click visual studio and select option change, Installer page will open now, In that window without changing anything click modify. it will solve the problem. I'm using VS Professional 2017
I got the same error today morning. This is what I did:
I ran the visual studio installer then I clicked on Modify.
The installer was showing 0KB Required. I continued and then it downloaded and installed. (Not sure what).
After that installation, it was able to launch.
I hope it works for you as well.
I was using Vs 2019 professional 16.6 and happened to me this issue one morning. I modified the installation by adding Azure Development tools even though I was not using it. This fixed the issue.
I just updated to 15.9.24 and I got this yet again, as I have my resolution above, and Visual Studio 2019 seems to be a lot better with avoid this issue. The installer for 2019 you do have to change something and do the modification, 2017 you don't have to change anything.
I reported this issue through Developer Community:
Setup not complete since 15.9.21
I don't know why but sometimes its buggy
it's up to date but after launch visual studio this error prompted !
you have to click modify in vs installer and just modify it.
its not going to download anything.
after a moment launch vs and enjoy :)
For VS2022, WIN11:
Control Panel > Programs > Programs and Features > Microsoft Visual Studio Installer
Then, click on Change and resume the previous process.

Visual Studio 2017 - Prerelease software. This license has expired

Issue: Download Visual Studio Community 2017
And the login dialog says, "Prerelease software. This license has expired" even though I'm logged in with a valid account. My laptop and another PC are both running the same version linked to the same account. They work fine.
I've tried everything outlined here (#answer-47683843):
Visual Studio 2015 - Prerelease software. This license has expired
I fixed it by resetting my Windows 10 OS (https://www.laptopmag.com/articles/reset-windows-10-pc), which is kind of annoying - but it worked!
Here's my visual studio support ticket in case they ever decide to fix the issue without such an extreme approach.
Coming from a guy that spent hours reinstalling VS over and over and OVER again... And trying to come up with all kinds of workarounds with VMs and deleting registry keys, etc...
This was a way better sure-fire, fairly quick, fix compared to all that!
I've never reset my Windows 10 before this, and so far it's really not too intrusive. All my data is still on the machine, you can choose JUST to clean out your apps, and Windows settings (which I assume includes your registry).
So I'll be reinstalling a bunch of stuff... but again... it was way worth it, if you need Visual Studio 2017 working now
Hope this helps someone else out there!

Unable to save Typescript files in VS 2017

I recently migrated my solution from VS 2015 to VS 2017 (both in Enterprise edition) and now I'm constantly unable to save Typescript files. It works fine for a couple of first minutes and after that I'm presented with a 'Save file as' screen. I have to wait a minute or so, and I'm able to save it without problem. It seems like edited files are being locked for a random amount of time. Is this an issue with migration? Or VS 2017 in general? Any hints will be greatly appreciated.

Remove visual studio 2010 totally

I struggle to uninstall VS 2010. I downloaded and used first trial version for VS professionnal 2010. I uninstalled it (partially) after trial, but as I could not install and use new trial version for same product, I successfully installed VS express C++ 2010. Now trial period for this product is over as well, and I unintalled it. Now I am stuck: I can download neither VS 2010 nor VS Express 2010. How to entirely remove VS from computer (Windows 7). Thanks and regards.
I think the problem here is not so much removing it, but a miss-understanding of how the express versions work.
VC++ 2010 Express is 100% free, you do however, need to register it (it'll only allow 30 days of unregistered use), but this is free as well. if you are a student, you may consider getting the professional or ultimate versions for free off of Dreamspark or the MS Academic Alliance.
If you do want totally remove it, you can remove all the components from the windows programs manager, however, removing the trail period checks would result in circumvention of the EULA (ie: you'd be breaking the law).