Visual Studio 2012 Ultimate is slow when editing C # code

I checked a series of articles about disabling graphic acceleration, disabling IntelliTrace, and using the Sysinternals Process Monitor (ProcMon), and I don’t understand how to find out what causes ridiculous slowdown in my editor. ProcMon shows devenv.exe:

performs a large number of "NotifyChangeDirectory" against "C: \", "C: \ Users \ my_user_name" (as well as some of the files with a random file from my project) and

registry operations (RegQueryKey, RegSetInfoKey, RegQueryValue, RegCloseKey) against:

  • HKLM \ SOFTWARE \ Wow6432Node \ Microsoft \ Cryptography \ Defaults *,
  • HKCU \ Software \ Microsoft \ VisualStudio \ 11.0 \ General \ Autosave *,
  • HKCU \ Software \ Microsoft \ VisualStudio \ 11.0 \ FileMRUList,
  • HKCR \ Drive \ shellex \ FolderExtensions, HKCU \ Software \ Classes

And it also performs file open and close operations (apparently random) against files in the project.

This happens even with one project and one instance of Visual Studio 2012 Professional open. Does anyone have any ideas?

Edit: This is on an Intel i7 machine with 16 GB of RAM and an SSD. Task Manager does not indicate CPU utilization, memory or disk. IntelliTrace is disabled. Graphics acceleration is disabled. Visual Studio 2012 Ultimate.

Edit: I went to a new car, and it happens there too. Now, in Visual Studio 2013.

+4
source share
4 answers

It could be many other things, but in my case it was a build binding log (Fusion logs) that slowed down VS.

See this answer for Fusion magazines. VS needs to be restarted after changes in the registry.

If this does not solve your problem, I highly recommend that you use Process Monitor to find the culprit activity. I also had a lot of AutoRecover related magazines, but this was not a real problem in my projects.

+2
source

Removing the contents of "C: \ Users \ Username \ AppData \ Local \ Temp" and restarting my computer led me to normal operation. My temporary folder had over 47,000 folders.

+1
source

Is the problem fixed after disabling automatic recovery in visual stuido?

Tools-> Settings-> for the environment> Auto Restore

0
source

I had very similar problems that arise immediately after starting the unit test using the Resharper Runner (see Resharper 8.1 Test Runner slows down the editing of Visual Studio text ).

I tried all the other options presented above (and below) to no avail. Disabling the R # test runner and restarting VS fixed it, although this is not a solution I need. Perhaps you use Resharper too?

0
source

Source: https://habr.com/ru/post/1492356/


All Articles