Visual Studio 2017 not showing GUI icons - visual-studio

I recently installed the newest version of Visual Studio, and when I ran it, I came to this screen. So far, I tried to rollback, which just corrupted the Visual Studio install, and which to fix was to re-install the new version, which seems to be the culprit. I have also tried to copy the image library cache file from the profile of the admin account that was used to install VS 2017 into the profile of the development account. This also, did not solve my problem. I did try and update my NVIDIA driver. This did not solve my issue. Can someone offer me an alternative course of action?

Have you tried to completely uninstall and re-install? Sounds like your 'update' didn't work out right.

Related

Can't update Visual Studio Installer (no error message)

I'm trying to install the latest version of Visual Studio Community 2017, however I'm having a few issues. I downloaded the Visual Studio installer and run it. After trying to go through it, it just shows and empty dialog box with the only option being to close. There's no error or anything, but if I'm not wrong, it should open the window showing which parts of Visual Studio I want to install. Screenshots showing the process:
Anyone have any experience with this? Or am I doing something wrong?
Please follow the steps as below to completely remove the VS 2017:
Go to Control Panel—Programs and Features, right click the ‘Microsoft Visual Studio 2017’ and choose ‘Uninstall’
Try to delete the following installed folders: %ProgramData%\Microsoft\VisualStudio\Packages and %ProgramFiles(x86)%\Microsoft Visual Studio\2017\Community
After that, make sure windows update is up-to-date, clean up the %temp% folder, temporarily disable any antivirus, download the latest installer from Visual Studio Downloads and run it as administrator to install.
If this issue persists, please use http://aka.ms/vscollect to gather the installation logs and find vslogs.zip under the %temp% folder, then upload the file to Onedrive and share the link here.
This is a known issue, we have fix this in the next major Visual Studio update release. (15.4)
The WMI service on your machine was not working (due to pending OS update). The Bootstrapper depends on WMI service and since WMI service is not working correctly, ManagementException is thrown. In 15.4, we have removed the Bootstrapper's dependency on WMI.
If you see this error again, you can try the followings to workaround this issue.
Workaround:
1. Download latest Bootstrapper from https://www.visualstudio.com/downloads/ and run vs_enterprise.exe --passive --update in an admin command console window. (this will force update your VS Installer)
OR
Reboot your machine and follow this instruction to repair WMI:
https://social.technet.microsoft.com/Forums/windows/en-us/8ed26d46-9994-4052-a307-5b071805aea8/wmi-corrupt-how-to-reinstallrepair?forum=winservergen
OR
Make sure your OS is up to date.
thanks for reporting this issue.
toby.

"Unknown Error" when launching Visual Studio 2017 Community after installation

I am getting an "Unknown Error" (shown below) alert when I try to launch Visual Studio 2017 Community after successful installation.
UPDATE: After Force uninstall & reinstallation
remove this folder (or similar):
%LocalAppData%\Microsoft\VisualStudio\15.0_db2a872f
folder name 15.0_db2a872f could be different in your machine eg. 15.0_XXXXXXX
found in the vs startup log that processing of Progression_NativePackage_Component_x86.pkgdef bailed out, indicating an inconsistent extension installation
I only had to rename(if you wan't to back it up)/delete the following file:
privateregistry.bin
or
privateregistry.user.bin
depending on Visual Studio version.
%LocalAppData%\Microsoft\VisualStudio\15.0_********\privateregistry.bin
%LocalAppData%\Microsoft\VisualStudio\15.0_********\privateregistry.user.bin
After restarting Visual Studio 2017 you may need to activate Tools or Extensions again.
Please check if the machine has Symantec Workspace Virtualization Agent installed. Removing the product from add\remove programs fixed the unknown error while launching VS 2017.
Here is the detail of the product.
Product code: {785F9A4D-D113-43B3-AA1D-77AD777F0A2F}
Package code: {32DB9767-3EF7-465A-ADF2-7ECFD25ABC12}
Install date: 2015.05.21
Version: 6.4.1266
Publisher: Symantec
I ran it as Admin and it somehow booted up just fine after that. I was getting the same error even after making sure that all packages and SDKs were installed until I ran it as admin.
Basically, just go to the shortcut in Start or to the .exe in the files, then right click it and run as Admin or change it in the properties. Tbh, it seems like a temporary fix and I'd actually like to know the real source of the problem, but for now, I don't have to reinstall and repair over and over.
Same version: Visual Studio Community 2017 installed using the launcher
I have a same problem after update VS 2017 Enterprise to the build 26228.9.
Repair installation doesn't fix anything. Still I got "Unknown error" message immediately after start VS2017.
Fixing is possible by removing this folder:
"C:\Users\USER_NAME\AppData\Local\Microsoft\VisualStudio\15.0_xxxxxxx"
where xxxxxxxx is some hexadecimal number.
BUT AFTER THAT YOU LOSE ALL SETTINGS that you done on your installation of VS 2017 (except product license key appliance).
Sorry that I must say this, but:
Maybe will be better stuck on the VS2015 for now. Because MS still not has really fully functional build of VS for now.
VS 2017 is still ready for first experimenting only and not for real work.
It is same story like a was when VS2015 has been published. (after several days stop working).
I fixed it the same way as niclar by deleting folder 15_.*. It does however appear that renaming privateregistry.bin has same effect with less trouble.
As mentioned by Torbjorn, ReSharper and other Extensions can mess up, however no reinstall required.
Merely go to Tools > Extensions and Updates... > Scroll through list of Installed Extensions > Enable those that should be enabled.
I have a side by side installation with VS2015. After opening and closing VS2015 once, VS2017 ist starting again normally. Strange but helped in my case.
I only needed to delete or rename ApplicationPrivateSettings.lock within C:\users{your username}\AppData\Local\Microsoft\VisualStudio\15.0_c31ecfb9 folder.
I was experiencing this issue with Visual Studio Professional
when not running as administrator. (It worked Ok as administrator)
I used Niclar's solution of deleting the folders.
I found same issue after installing the extension and removing the folder "C:\Users\USER_NAME\AppData\Local\Microsoft\VisualStudio\15.0_xxxxxxx" solved my problem.
you can rename the Solution Name and reopen the Project it solved for me after repairing the VS Installation

Visual studio 2013 works slow after Update 4

Does anybody know if Visual Studio Update 4 bring something which can consume CPU too much?
I had update 3 before and did not have any issues with performance, but after Update 4 I noticed that Visual studio is doing something (even if it's in background) and CPU is not going lower that 15%
Also it's not very responsive after 1-2 hours or work, I have to restart it.
I noticed than it's IsAssertEtwEnabled takes most of CPU, but have no idea what is it, I googled but found only one answer about DevExpress plugin, but I don't have it.
(if I uninstall updates, everything back to normal, but I prefer to have software to be updated)
UPDATE: I found the issue, it's browser link causing CPU and performance problems. After disabling browser link it get back to normal.
See second screenshot to see how to disable browser link
Try disabling browser link. Thats what I did.
It happens with Visual Studio.
The best part is to remove it completely and re install everything from first.
This is mainly caused because you have did Update
That IS:
1) Remove your Visual Studio and Emulator's and updates completely.
2)Install Visual studio.
3)now install just the current version update 3
4)now the emulators.
Your done!!!
It happens with Visual Studio because you have updated that not installed the latest version directly, when you are upgrading that some threads are running behind that checks the current version every time you are connected to internet
Try reinstalling that visual studio
Diable browser link
I'd also recommend to uninstall Visual Studio completely and install the latest version VS 2013 with Update 4. It's the current stable version.
And works better on my PC as compared to VS 2012. :)
Just in case if disabling browser link does not solve the problem, try to run VS in safe mode by running devenv.exe /safemode. This will disable any third party add-ins and you can check if some add-ins have issues with the new update.
If it still doesn't solve the problem, try reinstalling VS, and make sure that the installation run without any problems.

'VSPackage' package did not load correctly

I'm having this error pop up once I start Visual Studio professional 2013 with update 3.
I don't know whats going on and also when I created a web form and try to put items from the toolbox into a table in my code it doesn't let me. the items are dim and can't select them any more. before I would make a table and try to add Labels, textbox, etc and it wasn't a problem.
Visual Studio 2013 Update 4
Tools -> Extensions and Updates
Disabled "Release Management for Visual Studio 2013 v2.1".
That worked for me.
I got the same issue today, but the error message should be giving you some guidance.
Take a look at mine, it tells me to check the "ActivityLog.xml" for more information.
After looking at the entry my error showed me that it ocured the evening before around 5:30pm and I know I was installing the Visual Studio 2013 Update 4 at this time. So it seems I had a problem with my Update installation.
(Sorry maybe someone can school me on how to properly load an image for viewing)
So I realized my problem was an install issue I created, yours might be an add-on or something similar that you just updated your Visual Studio with that corrupted your VS.
So a little more researching and asking some buddies at work and we tried doing this step in another SO article, which should have the same effect of fixing our package loading problem also.
the Provider package did not load.
After running the steps listed there my Visual Studio started up without any obvious issue.
Hope this helps.
Open ActivityLog.xml in a viewer (I've used Microsoft Edge) and you'll find the error. VSPackage is the "Developer Analytics Tools" extension for me.
The error is gone after uninstalling that package. You can obtain the package and attempt to reinstall from the Developer Analytics Tools page in the Visual Studio Gallery.
I uninstalled and reinstalled Visual Studio and the problem went away for a little bit. It eventually came back complaining about different packages.
Then I noticed my home directory was encrypted. I decrypted the directory and the problem went away.
If it is not an encryption issue, I'd try just uninstalling and reinstalling VS 2013.
Message could be shown in case of "Path" environment variable longer than 2048 characters. In that case, system doesn't work proply with system paths like %windir%.
If it's your case, shorten "Path" environment variable and everything works again.

Visual Studio setup problem - 'A problem has been encountered while loading the setup components. Canceling setup.'

I've had a serious issue with my Visual Studio 2008 setup. I receive the ever-so-useful error 'A problem has been encountered while loading the setup components. Canceling setup.' whenever I try to uninstall, reinstall or repair Visual Studio 2008 (team system version). If I can't resolve this issue I have no choice but to completely wipe my computer and start again which will take all day long! I've recently received very strange errors when trying to build projects regarding components running out of memory (despite having ~2gb physical memory free at the time) which has rendered my current VS install useless.
Note I installed VS2005 shell version using the vs_setup.msi file in the SQL Server folder after I had installed VS2008, in order to gain access to the SQL Server 2005 Reporting Services designer in Business Intelligence Development Studio (this is inexplicably unavailable in VS2008).
Does anyone have any solutions to this problem?
P.S.: I know this isn't directly related to programming, however I feel this is appropriate to SO as it is directly related to my ability to program at all!
Note: A colleague found a solution to this problem, hopefully this should help others with this problem.
A colleague found this MS auto-uninstall tool which has successfully uninstalled VS2008 for me and saved me hours of work!!
Hopefully this might be useful to others. Doesn't speak highly of MS's faith in their usual VS maintenance tools that they have to provide this as well!
I had the same error message. For me it was happening because I was trying to run the installer from the DVD rather than running the installer from Add/Remove programs.
In my case, uninstalling from Add&Remove Programs didn't work. Instead, the problem was due to a recently hotfix installed through automatic updates. The hotfix to VS 2008 (in my case) has the number KB952241, so I uninstalled it using Add/Remove Programs checking on the show updates option. After it was unistalled the problem was gone.
I encountered the same problem and found a very easy solution.Go to the following Link:
http://msdn.microsoft.com/en-us/vs2008/bb968856.aspx
and run VS AutoUninstall tool .This will automatically remove all the components of VS 2008.
Cheers
Sure enough, for me, it was the hotfixes. In Add/Remove Programs, check the "Show Updates" box, and remove ALL of the Hotfixes associated with your version of VS2008. Then try the "Change/Remove" button - it should now proceed without a hitch.
Well, it did for me, anyway... ;-)
I have Visual Studio Team System 2008 Development Edition, and had to remove all updates and Hotfixes:
Update KB972221
Hotfix KB973674
Hotfix KB971091
Reboot, then the following Hotfix appeared, which I then removed as per #riaraos' answer:
Hotfix KB952241
Before the Change/Remove would work!
Hope that helps someone else.
Uninstall hotfixes installed in related to vs2008 and then try again.
It worked for me and hopefully it will for you as well.
Thanks,
Zelalem
Remove the following hot fixes and updates
Update KB972221
Hotfix KB973674
Hotfix KB971091
Restart the PC and try to uninstall now. This worked for me without problems.
Microsoft itself posted a KB article about this, and that article has a service pack that they claim fixes the problem. See below.
http://support.microsoft.com/kb/959417/
It took a while for the associated update to install itself, but once it did, I was able to run the Visual Studio setup successfully from the Add/Remove Programs control panel.
You should look for the MSI setup logs in the temp directory of your system. They will contain detailed inforamtion about why the setup failed.
I had a similar installation problem with Visual Studio 2008 which I was able to resolve by studying the logs.
I think this sort of question is entirely appropriate to the forum, especially if an easy solution can be found, as would save others hours of pain.
Unfortunately I dont have the solution, but would suggest (if you haven't already)
Run FileMon to see if the
installer is looking for specific
files which are no longer there -
this may give some clues.
Painful, but try uninstalling other apps based upon the VS shell (eg 2005) first.
Thanks, riaraos, uninstalling KB952241 was the solution for me, too. Before doing that I tried to run the installer from "Programs and Features" and from the installation DVD without success. I did not want to completely remove the VS 2008 installation but only add a few components.
Notes on my system:
Windows 7 Beta 1
Visual Studio 2008 SP1
Okay I had the same issues first my VS2008 was acting up so i tried to uninstall it and it didn't work...I read online that using an AutoUninstall by MS will do the trick it did just that , but left a lot of nasty files behind..
So i used "Windows Install Clean Up" and cleaned up more stuff that had to do with VS..
then went back into Add and remove in control panel Removed the KB952241...
then opened up Ccleaner and scanned the registry found a lot of left behind crap from VB2008 removed all that once that was done.
I went ahead and launch the installed back from the CD again and BAM its working.
I did all this without having to restart my PC..
Hope this helps people who are stuck..like i was
In my case, installing visual studio SP1 unbroke the uninstall/repair functionality.
Windows 7 suggested to "Uninstall using recommended settings" after hitting OK in the error message. It solved the problem.
Solution to this is
http://www.dotnetzone.gr/cs/forums/48758/ShowThread.aspx#48758

Resources