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

前端 未结 10 1282
被撕碎了的回忆
被撕碎了的回忆 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条回答
  •  旧时难觅i
    2021-02-04 16:10

    Late to the party, but none of the answers so far mentions build configurations. You CAN have lots of projects in your solution without them all being built every time you run. Click on the Debug/Release combo and create a new build configuration - there you can decide which projects you want to build or not.

    Why do this? I do it so that I can 'Go to definition' at will, and so that I can rapidly swap projects in and out of my build without going through all the Add project pain.

    Also, note that if you have solution folders, you can right click and build on the folder, which will build all the projects in the folder.

提交回复
热议问题