Recently had to move from one pc to another and got a feeling that Visual studio got a bit slower on startup and project load.
In addition to that, the text became blurry, so I had to google what has changed recently and how to get back proper VS experience.
Writing this post for myself to remember where to look at next time 😊
High resolution:
DPI problems on big screens are solved with a setting "optimize rendering for screens with different pixel densities. (Using build in search helps to find option without clicking here and there).
As text suggested, right after restart everything got sharp again.
Visual studio settings:
The first improvements suggest I found was to disable options ‘reopen docs on solution load’ and ‘restore projects hierarchy’
The next set of options comes from preview features:
Autohide tool window and startup and ‘new git experience’ if you use git.
Resharper:
For those who use Resharper, jetbrains prepared a nice set of features you can enable to make vs faster, just change then to ‘fix silently’ and on each start, it will check and disable features.Defender:
Exclude processes:
devenv.exe, msbuild.exe
Exclude resharper cache folder
%LOCALAPPDATA%\JetBrains\Transient
Extra tip:
Force Visual Studio to perform garbage collection
"Ctrl+Shift+Alt+F12" + "Ctrl+Shift+Alt+F12"
Did it make my VS as fast as Visual studio Code? Nope. But I got back to what I used to have on a less powerful machine.
https://docs.microsoft.com/en-us/visualstudio/ide/visual-studio-performance-tips-and-tricks?view=vs-2019
https://www.jetbrains.com/help/resharper/Speeding_Up_ReSharper.html#resharper
Comments
Post a Comment