I’m working in an environment where developers will often choose to build only one or two projects at a time within a solution that has nearly 50 projects. Although we ask them to make sure that they only check in a solution file where all projects are set to be built, this doesn’t always happen. This often screws up the build process, and though it’s pretty easy to fix by hand, I’d rather not have to do it by hand. I know that I can specify which projects to include with the <projects> tag, but we add projects to our solution pretty regularly, and I’d rather not have to update our NAnt build every time this happens. So, I was wondering if it were possible to force a build of all projects within a solution file using a <solution> tag without having to individually specify every project. Or, if there isn’t a way to do it through the <solution> tag, if anyone has a slick solution to this problem.

 

Thanks in advance!

 

- Keith

 

Reply via email to