Hi I think that I start to get your point :
you got .Net projects A B C without any project references, but they use binary references and suppose a dev has set a reference for project B to the bin folder of project A and project C has a project reference to A as long as project A gets build first, no problem, B will find the dependent dll and will build OK. Now you want to 'randomize' the build order (with respect to the project references) so you will force to get B built first, or do something like : ° clean - compile - clean project A --> cleans A and compiles A and cleans it again : ok ° clean - compile - clean project B --> cleans B and compiles B and cleans it again : Not ok, because the dll of A does not exist anymore ° clean - compile - clean project C --> cleans C and compiles C and cleans it again : ok The last one does a also compile A because of the project reference Doing something like this will work, but it will take a lot of time. I would suggest a solution like this only for a nightly build. Now CCNet does not support this out of the box ;-) You'll need do write something yourself to do this. It's not that hard to do you'll need to parse the sln file, just read it line by line. When the line contains somehting like proj" it has a project to compile just open a solution file with a plain text editor (notepad) and you'll see what to do. If you do the above for each project in the solution, you will surely find all bad references. Hope this helps with kind regards Ruben Willems On Mon, Oct 13, 2008 at 5:47 PM, Derek Hofmann <[EMAIL PROTECTED]>wrote: > What I'm trying to catch is cases where those project references aren't > setup. > > On Mon, Oct 13, 2008 at 12:05 AM, Ruben Willems <[EMAIL PROTECTED]>wrote: > >> Hi >> >> that depends >> if you're developing that LIB and EXE project yourself, >> you can set up a project reference between them, so Visual Studio knows >> the build order. >> >> When you compile the solution, (not the individual projects), Visual >> Studio/MSbuild/Nant >> scans the projects for project references, and build them in the correct >> order. >> >> >> with kind regards >> Ruben Willems >> >> >
