We have quite a bit of reusable code at work (a good thing). Whenever I create a new project that use them I am used to include their projects as part of my solution, and I was wondering if I should instead reuse them as published dll’s instead. The reason (or excuse) I include the project is that if I find a bug in one of them I can branch and fix that right there. But it seems to be taking my focus from the project at hand.
(Not sure if this should be CW since there are only two answers and I would be interested in learning about your preferences)
There’s a few things to consider here.
I use precompiled libraries for any code that doesn’t change in months. If I need to change some code more than once a month in a package then that package isn’t precompiled.
I prefer precompiling to speed up compilation of the main program. But I always include debug symbols in the precompile so if an error occurs I can step through the precompiled assembly just as easily as the rest.