2010-01-20 4 views
2

J'ai une configuration teambuild qui construit une solution qui contient plusieurs projets. Lorsque la construction est terminée, tous les binaires sont regroupés dans un seul emplacement.TeamBuild - Meilleure façon de diviser la sortie du projet

Existe-t-il un bon moyen d'obtenir ces éléments dans des dossiers spécifiques à un projet? (Similaire à ce que vous obtenez lorsque vous construisez dans Visual Studio?)

Exemple:

 
MySolution 
    | 
    +-> Project 1 
    | 
    +-> Project 2 
    | 
    +-> Project 3 
    | 
    +-> Project 4 

En ce moment TeamBuild me donne ceci par défaut:

 
Binaries 
    | 
    +-> Project1.exe, Project2.exe, Project3.exe, Project4.exe, Project1Support.dll, Project2Support.dll, Project3Support.dll, Project4Support.dll 

Ce que je veux:

 
Binaires 
    | 
    +-> Project 1 
    |  | 
    |  +->Project1.exe 
    |  | 
    |  +->Project1Support.dll 
    | 
    +-> Project 2 
    |  | 
    |  +->Project2.exe 
    |  | 
    |  +->Project2Support.dll 
    | 
    +-> Project 3 
    |  | 
    |  +->Project3.exe 
    |  | 
    |  +->Project3Support.dll 
    | 
    +-> Project 4 
     | 
     +->Project4.exe 
     | 
     +->Project4Support.dll 

Dois-je copier manuellement chaque fichier? Y a-t-il un moyen plus facile? (Je l'espère.)

Répondre

2

Aaron Hallberg a un excellent article sur ce scénario exact here.

Si vous allez parcourir autant de personnalisations TFSBuild que je l'ai fait récemment, vous pouvez également consulter le reste de son blog.

+0

Bonne réponse! Merci! – Vaccano

Questions connexes