I have a solution with 4 projects inside. What I want to be able to do is to change the order of the batch build (right-click solution Batch Build…). I have configured the Build Order, but this seems to make no difference.
Currently, it seems to just list them in the order they appear in the solution explorer, but they have dependencies of either other in a different order. For example:
Solution
- Project1
- Project2
- Project3
- Project4
But the dependencies mean it needs to build in this order:
Solution
- Project4
- Project2
- Project3
- Project1
Is this possible and, if so, how?
Are these C++ or C# projects? If they’re C++ projects, are they dependent on the final output (e.g. .LIB files)? Or are they dependent on intermediate files (.H files generated from .IDL files, e.g.)?
Visual Studio will parallelize C++ projects, except at the final linking stage, where it’ll deal with the dependencies. If you’ve got intermediate dependencies, you’ll need to configure these appropriately, so that it knows not to parallelize those steps.