Using Memory Efficiently When You Build Large Projects

 

For the latest documentation on Visual Studio 2017, see Visual Studio 2017 Documentation.

For the latest documentation on Visual Studio 2017, see Using Memory Efficiently When You Build Large Projects on docs.microsoft.com. Large projects often contain many sub-projects and other dependencies, and these may consume lots of system memory at build time. When available system memory is decreased, system performance may also be decreased. Older versions of MSBuild projects remained in memory or, in version 3.5 the projects were removed, but it retained build results in a cache for later retrieval.

Version 4.0 handles this memory management automatically, saving projects from having to use properties such as UnloadProjectsOnCompletion and UseResultsCache.

Building Multiple Projects in Parallel

Show: