简体   繁体   中英

TFS Continuous Integration

I have a solution checked in to a TFS branch. That solution includes a project located in another TFS branch. Our sys admin creates a build definition so that each time we check code in. An automated build is triggered. The automated build is failing because it doesn't see the project file of the project located in another branch. What are we doing wrong?

Just as you said, the reason is that " it doesn't see the project file of the project located in another branch ."

During the build, the first step is getting the sources from repository. If missing the needed files for the solution during getting sources, the build will be failed.

In your case, you need to include another branch (which the project located in) in Repository Mappings , means that you need to also get the needed sources from another branch .

Actually, the best way to fix that is adding the project to the solution in the same branch.

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM