Visual Studio 2013 Update 2 maxes out core - visual-studio-2013

I recently installed Visual Studio 2013 Professional Update 2 on a Windows 7 virtual machine. I had been running VS 2012 with no problems, but I wanted to upgrade. Everything was working well for a week, but now for a certain project the IDE is bogging down and task manager is reporting a consistent 25% CPU usage on my 4 core machine. Restarting VS and my PC does nothing.
If I start VS in safemode devenv.exe /SafeMode the problem goes away, and it is project-specific.
I've run Process Explorer and discovered this thread(note: not the highlighted one but the thread on top)
Then I found this forum related to it: https://connect.microsoft.com/VisualStudio/feedback/details/873579/high-cpu-usage-possibly-after-updating-to-update-2
But I don't have either Power Tools or Alternating Line Color extensions installed.
If it's not any extensions (I haven't added any), what could the issue be? The only thing I can think of is the NuGet packages.
EDIT I found this thread Asp.Net CPU issue working with Kendo UI treeview after Visual Studio 2013 Update 2 and tried the solution of disabling Browser Link to no avail.
EDIT I also disabled Source Control as described here VS2013 permanent CPU usage even though in idle mode but apparently it is not fixed in Update 2 as the question states.
EDIT debugging and pausing the culprit thread (main thread) gives me this stack trace more often than not:

I have been struggling with the same issue for a couple of days on Visual Studio 2013 Update 4.
Disabling "Enable Browser Link" option in here:
Fixed the issue for me.

All I've found thus far is a workaround: unload and reload the startup project of my solution in the Solution Explorer after opening the project. This will return the cpu usage down to normal (~0% idle).

From what I can tell from Googling Microsoft.VisualStudio.JavaScript.Web.Extensions.dll, that DLL is related to the Web Essentials plugin. If you disable that plugin in particular (failing that, all plugins), does the problem go away?
If it is a problem with a plugin, either live with it being disabled or contact the developer.

I know this thread is getting a little old but just in case this helps someone else... I also have this issue and I can definitely put it down to Web Essentials in my case. But, more specifically, Web Essentials once I open up a .less or .css file in the IDE.
I have restarted the IDE and the usage goes back to normal but again as soon as I open a css file the CPU starts to climb then the whole IDE becomes unusably slow. Closing all less/css files does seem to bring the CPU/IDE back to earth eventually.
My 2 workarounds so far:
Uninstall WE :-(
Edit my .less and .css in Notepad++ and use the IDE for everything else
Neither is a particularly great solution!
This is with VS2013 Pro + Update 2 and the latest release build of WE. Next step is to see if VS update 3 RC + latest nightly build of WE has the same problem.
Edit: A thought has just occurred. I have only recently had to change from VS Premium to VS Pro and I don't recall the problem happening with the Premium version. I wonder if it is just the Pro version??

I know you said you have no extensions, but you might want to double-check on this one. It looks like the Web Essentials extension is incompatible with VS 2013 Update 2 and may cause the described behavior. The workaround is to download the latest nightly build of Web Essentials. You'll have to do it by hand as the one last stable release on Nuget is several months old, before this fix.
More info and download links here.

I had a similar problem here (25-30% CPU usage) and a message complaining about Microsoft SQL Server Compact 4.0 not being installed (not sure why, it was supposed to be installed with Visual Studio).
After downloading and installing it separately, the CPU usage issue was solved.

My CPU load was 15-25% on a core i7 and went down to 0% after deleting the .sdf files in my project folders.

For what it's worth, I had similar issue with Server Compact 4 being missing, and my c++ solutions being at 25% cpu usage all the time. I had Server Compact 4 SP1 installed though. My system is Windows 7 64 bit. I uninstalled SP1 and downloaded and installed Server Compact 4 and now everything is ok. I have of course got Intellisense back as well.

I just had this issue; for me it was resolved by installing Update 5.
The issue started occurring after installing the latest MS Updates; a full list of which are given below (NB: my date format is UK: DD/MM/YYYY; today is 10/12/2015 - some fixes listed were (will be?) allegedly installed on the 11th):
get-hotfix `
| ?{$_.InstalledOn -gt ((get-date).AddDays(-7))} `
| ft Description, HotfixId, InstalledOn -AutoSize
Description HotfixId InstalledOn
----------- -------- -----------
Security Update KB3046017 08/12/2015 00:00:00
Security Update KB3060716 08/12/2015 00:00:00
Update KB3064209 08/12/2015 00:00:00
Security Update KB3071756 08/12/2015 00:00:00
Security Update KB3072305 08/12/2015 00:00:00
Security Update KB3075220 08/12/2015 00:00:00
Update KB3075851 08/12/2015 00:00:00
Security Update KB3076895 08/12/2015 00:00:00
Security Update KB3076949 08/12/2015 00:00:00
Security Update KB3078071 08/12/2015 00:00:00
Security Update KB3078601 08/12/2015 00:00:00
Security Update KB3079757 08/12/2015 00:00:00
Security Update KB3081320 11/12/2015 00:00:00
Security Update KB3092601 11/12/2015 00:00:00
Security Update KB3100773 11/12/2015 00:00:00
Security Update KB3101246 11/12/2015 00:00:00
Security Update KB3101722 11/12/2015 00:00:00
Security Update KB3101746 11/12/2015 00:00:00
Update KB3102810 11/12/2015 00:00:00
Earlier (before using Visual Studio / noticing the issue) I'd uninstalled another hotfix relating to Outlook, which had caused it to open in Safe Mode.

Related

Visual Studio 2015 "...has stopped working" when trying to install

Trying to install 'Visual Studio 2015 with Update 3' using the .exe installer provided for the visualstudio.com website. I also tried the standard version (without the update).
The black/grey installer opens, the green bar moves along the progress bar once and it crashes. I get a white pop-up window saying 'Microsoft Visual Studio Community with Updates has stopped working'.
I can't seem to find any other situations like mine on Google or StackOverflow.
I have Visual Studio 2017 also installed. Why do I need 2015 too? I'm helping (trying) another student who is using VS2015 and has problems - however, I can't even get it downloaded!
Thanks in advance for any help.
One possible solution is to not worry about 2015 and just help him by using 2017. It's hard to tell for sure if this will resolve your issue, as there is not info on exactly what you are trying to help him with.
If you go this route, I would save out the solution file just after loading it with _vs2017 tacked on the end, or something similar, so that you do not overwrite the info in his solution file. (Edit: The purpose of this is just in case it breaks something for him - it may not be a problem, he may be able to load your 2017 solution file fine). I've moved fluidly between 2017 Community and 2015 Express or Community with some solutions without a problem.
I do realize there are some issues that this may not be a solution for, but it should be an option, especially for those that are more language-based. The main problems with this solution would be if other student is using features or libraries that are deprecated in 2017, or directly struggling with getting VS 2015 features to work.
Go to control Panel -> Programs and features -> turn on windows features ,
Disable .net 3.5
check for windows update,
Then restart the system. Now it will work . 100% working .
Have fun.

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.

Visual Studio 2013 sp1 update download issue

I am trying for last two days to download VS 2013 SP 1 update. I succeed to download only "VS2013.1" (1,165kb) application and when trying to start it its only shows for milliseconds VS 2013 black update screen and close. I downloaded from external link and also through VS Notification.
Any solution for this problem ?
I found solution! NOD ESET Smart Security was producing this issue. I disabled it for 10 min. and download started as usual.

Visual studio 2013 pending changes window not comments field

I am using Visual Studio 2013 together with TFS 2012 since a few weeks. Until yesterday I always had the Comments Textbox in the "Pending Changes Window". Now it has dissapeared and I can not find a way to get it back. This is a serious problem since it is mandatory to give comments to every checkin.
Can anybody tell me how to get the comments textbox back.
Can you post a screenshot of your Pending Changes window? It should be right here:
I recently had to struggle through this issue myself and found there is very little information out there on how to resolve it.
For my situation, what finally fixed the issue was removing the 2012 version of TFS Power Tools and upgrading to the 2013 version. There are several members of my team who are using the combination of TFS Power Tools 2012 and VS 2013 with no issues, I'm the only one who saw this.
I suspect that this was not a power tools issue as much as it was a problem with VS caching some TFS data locally. I tried a number of options to clear caches in both VS and TFS and nothing worked until I did this uninstall/reinstall.
Regardless, after the TFS power tools upgrade and a reboot, the Comment box was back. Hope that helps!
EDIT: I should also point out that not only was my "Comments" section missing, I also had no "Policy Warnings" section which we require on certain projects of our TFS.
I had exactly the same issue right after installing NCrunch 2.4.
Uninstalling it brought my comment box back.
Having the same issue. Vanished today. Have not installed anything for weeks. I had 3 Visual Studio 2013 up at the same time. 2 was bugged, 1 was not. I closed the 2 buggy ones, and then the working one hoping that last one would save its settings last. Did not work. Now I have no way of adding comments. I can check in anything without the policy blocking me like it normally does when I do not enter a comment.
UPDATE: A simple reboot of the client solved it. The Comment is back!

visual studio 2010 CTP expiration work around

I downloaded the VS2010 CTP from here:
http://www.microsoft.com/downloads/details.aspx?FamilyId=922B4655-93D0-4476-BDA4-94CF5F8D4814&displaylang=en
It took a while to download and install naturally and after running it in Virtual PC I was disappoint to see that it expired already even though it was still available for download.
I then started to research on what I needed to do to get it to work beyond it's Jan 1 2009 expiration date. I looked at this:
http://blogs.msdn.com/virtual_pc_guy/archive/2007/11/28/disabling-time-synchronization-under-virtual-pc-2007.aspx
..But the instructions mention to modify setting in the VMC file.
The problem is, I did a search of the file and there is no such tag in it.
I tried to set back my clock in my host system before launching VPC but that didn't work either.
Any suggestion anyone? I'm wondering why MS is leaving up the 2010 CTP download page if there is no point in installing it. Is there a more up to date version available?
Visual Studio 2010 and .NET Framework 4 Beta 1
I'm not sure of its expiration date.
Those instructions do work - you have to insert the extra tag into the config file; it's not there to start with.
I suspect the reason they're leaving it up is so that people can download it. :)
Before re-attempting the setup, you'll probably need to start again with the VM in a state where it has never been run, so you should unpack it from the download files again.

Resources