Thanks Rory,

 

I have tried a clean a number of times, I've also gone onto the build
server after the build failed, opened the source from there in VS, and
successfully compiled through the IDE. It works every time in the IDE
just not with Team Build. Going through the build log produced from Team
Build and comparing it with the Build Output in the IDE you can see that
the order that each solution is being built in is different, and this
seems to be the problem.

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Primrose, Rory
Sent: Wednesday, 26 November 2008 2:45 PM
To: [email protected]
Subject: RE: [OzTFS] Team Build Issue - Incorrect Build Order
[SEC=UNCLASSIFIED]

 

It is possible that the binaries for the project in question are already
built and exist in the bin directories of the projects that reference it
but not because of a project dependency (i.e., each compile doesn't
actually build the other project and bring across the output). In this
case, you have the files locally in the bin directories of the other
projects, but the build server won't get them on compilation.

 

First thing to check is that it does successfully build locally by doing
a clean and full rebuild of the solution. After the clean and before the
rebuild, make sure all the binaries are removed from the bin directories
of all the projects. If there is a project dependency problem, a clean
may not remove the binaries that are not specifically related to the
associated project. After the rebuild, check the bin directories again
to ensure that the binaries are brought across to the other projects.

 

 

 

RORY PRIMROSE
SOFTWARE DEVELOPER
INFORMATION SERVICES

Tel +61(0) 2 62036720  Ext 156720

www.afp.gov.au

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Clint Colefax
Sent: Wednesday, 26 November 2008 3:33 PM
To: [email protected]
Subject: [OzTFS] Team Build Issue - Incorrect Build Order

 

Hi All,

 

I have a rather frustrating issue with Team Build at the moment. We have
a multi-project solution, with project to project dependencies. There
are seven projects, with one reference no other projects, and all other
projects referencing it. When you build this solution locally through
vs2008, it works fine, but when it is build through TFS with Team Build,
it build the projects in the wrong order, and fails, as the project that
is referenced by all others is not built first.

 

The solutions dependencies are set up correctly, I've even set
<BuildSolutionsInParallel>false</BuildSolutionsInParallel> in the
TFSBuild.proj file. I've also tried recreating the solution file, all
without luck so far.

 

Any help would be greatly appreciated.

 

Thanks

 

 

OzTFS.com - to unsubscribe from this list, send a message back to the
list with 'unsubscribe' as the subject. View the web archives at
http://www.mail-archive.com/[email protected]/
Powered by mailenable.com, supported by www.readify.net 

 


**********************************************************************
                                WARNING

This email message and any attached files may contain information
that is confidential and subject of legal privilege intended only for
use by the individual or entity to whom they are addressed.   If you
are not the intended recipient or the person responsible for
delivering the message to the intended recipient be advised that you
have received this message in error and that any use, copying,
circulation, forwarding, printing or publication of this message or
attached files is strictly forbidden, as is the disclosure of the
information contained therein. If you have received this message in
error, please notify the sender immediately and delete it from your
inbox.

AFP Web site: http://www.afp.gov.au
**********************************************************************

OzTFS.com - to unsubscribe from this list, send a message back to the
list with 'unsubscribe' as the subject. View the web archives at
http://www.mail-archive.com/[email protected]/
Powered by mailenable.com, supported by www.readify.net 




OzTFS.com - to unsubscribe from this list, send a message back to the list with 
'unsubscribe' as the subject. View the web archives at 
http://www.mail-archive.com/[email protected]/

Powered by mailenable.com, supported by www.readify.net

<<image001.jpg>>

<<image002.jpg>>

Reply via email to