C++ solution builds are slow when multiple instances of VS2019 are active

Alan Weir 1 Reputation point
2021-01-14T20:46:55.553+00:00

I have multiple c++ solutions and if I open a single instance of VS2019 and edit/build the build time is reasonable an comparable to using msbuild in a command window.
However, as I open up more VS2019 instances the compile time degrades significantly and takes 2 - 5 times longer than when there was a single instance. This appears to be especially true if I have been debugging in one of the other instances. I have been using multiple instances of VS since VS6 and only noticed this issue with VS2019. This also occurs on all my machines which are 8 core 2.4Ghz with SSHD and 64Gb RAM.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,278 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.