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

前端 未结 10 1259
被撕碎了的回忆
被撕碎了的回忆 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:18

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

    Here is related topic by Patrick Smacchia describing benefits of having small number of assemblies (thereafter small number of projects). He talks exactly about how number of assemblies can affect build time and other factors.

    I encourage you to read Patrick blog. He has a lot of articles about code componentization.

    Advices on partitioning code through .NET assemblies

    Lessons learned from the NUnit code base

    Hints on how to componentized existing code.

    From my personal experience it's a pain to have a solution with a few dozens of projects. IMO having more than 10 projects will lead to noticeable maintenance problems and affect your productivity.

提交回复
热议问题