How to get only the changed source code during the Team Build 2008

In un post del forum Microsoft è stato chiesto come fare una build di un progetto su Team System, compilando solamente i progetti modificati e non tutta la solution.
Il post è un pò vecchiotto (29 agosto 2007) ma credo ancora valido
La riposta è la seguente:

In Orcas, two properties were added specifically for this purpose. Setting IncrementalGet to true in your TFSBuild.proj file will result in each build of that build definition reusing the existing workspace and simply getting the files that have changed since the last build.  By contrast, the default setting will result in every file in the workspace being retrieved each time the build is executed.

Property IncrementalBuild takes it one step further. In addition to doing what IncrementalGet does, it does not clean the binaries output directory. The result is that each build will simply build binaries corresponding to the source that's changed.

You can find more information about these properties on Buck's and Aaron's blogs:

http://blogs.msdn.com/buckh/archive/2007/07/24/tfs-2008-some-properties-that-you-can-use-to-customize-your-build.aspx

http://blogs.msdn.com/aaronhallberg/archive/2007/07/05/getting-the-modified-files-for-a-team-build-build-in-orcas.aspx

Se siete interessati al thread, cliccate quì.

Edit 15-09 14:40:
Un altro interessante link:
http://blogs.msdn.com/aaronhallberg/archive/2008/02/12/team-build-2008-property-reference.aspx

Edit 16-09 12:31:
si può ottenere lo stesso risultato in TFS 2005.
Nel seguente link è spiegato come fare:
http://blogs.microsoft.co.il/blogs/maordavid/archive/2008/06/12/configure-team-foundation-build-for-an-incremental-build.aspx

 

Tags:

posted @ lunedì 15 settembre 2008 15:48

Print

Comments on this entry:

# re: How to get only the changed source code during the Team Build

Left by Vito Arconzo at 15/09/2008 17:06
Gravatar
Interessante sarebbe il deploy delle sole dll modificate.

# re: How to get only the changed source code during the Team Build

Left by Salvatore Di Fazio at 15/09/2008 17:08
Gravatar
Si,
lo sto testando.
Male che vada inserirò un errata corrige a breve.

# re: How to get only the changed source code during the Team Build 2008

Left by this Web site at 06/01/2014 01:08
Gravatar
You don’t need to ponder over where to buy resume paper from now on. Expert resume writers are are just a click away. Contact Resumes leader company so you can look through resume formats or buy resume. Be confident that you will find customized resume writing services.

# re: How to get only the changed source code during the Team Build 2008

Left by Internet site at 02/04/2014 16:35
Gravatar
This writing agency renders first-rate and professional CV writing services. So, if you have no idea how to write a resume, desire to buy resume from best resume writers or merely to have a look on CV templates, check out site prime-resume.com.
Comments have been closed on this topic.