Does the number of projects in a Visual Studio 9 solution impact the solution load and build times?

前端 未结 10 1257
被撕碎了的回忆
被撕碎了的回忆 2021-02-04 16:00

I\'m specifically interested in solution load times & build times - does fewer solutions mean better performance?

Note that I\'m not referring to the perfor

10条回答
  •  深忆病人
    2021-02-04 16:20

    It's a bad idea to have too many projects inside your solution. It affects build time. See this article that does a comparison of build times with several build tools. According to the article, Visual Studio takes 2 seconds per project, even if the project is not part of the build.

    This also matches my experience, that Visual Studio is one of the slowest build tool available. Between Visual Studio 6 and 2006, my build time has moved from one minute to 5 minutes for a relatively simple C project.

提交回复
热议问题