Improve the build speed of Visual Studio 2019

Viewed 8658

Does any one face long time build process to run a website with visual studio 2019 and asp.net? I tried to Free up some space in the disk and End up some tasks to free RAM memory, clear visual studio cashe but the peoblem still

Any suggestion regarding this issue, it is so frustrating to develop with such speed.

SOLVED This was solved by setting source control to None and disable stratup in the task manager and followed the instructions posted below

1 Answers

@ Nadin Martini.

For improving the build speed of Visual Studio 2019, some attributes can be applied as follows:

  1. Set Current source control plug-in to None under "Tools" -> "Options"->”Source Control ”.

  2. Uncheck Synchronized Visual Studio settings across devices under "Tools" -> "Options"->”Environment ” ->”Accounts ”
    enter image description here

  3. Uncheck Enable CodeLens under "Tools" -> "Options"->”Text Editor ” ->”All Languages ”. enter image description here

  4. If you have hardware acceleration enabled, or if you use the default visual experience settings you may experience intermittent performance issues, product crashes, or rendering issues. You could apply the following settings under "Tools" -> "Options"->” Environment ” ->” General ”. enter image description here

  5. Delete the contents of the following directories:

Clean the content in WebSiteCache folder

(can be found in C:\Users%USERNAME%\AppData\Local\Microsoft\WebSiteCache).

Clean the content in Temporary ASP.NET Files folder

(can be found in C:\Users%USERNAME%\AppData\Local\Temp\Temporary ASP.NET Files)

For more information, you can visit here.

Related