Reputation: 725
I just fired up VSTS after a while away from it. Working on other projects.
Microsoft seems to have changed the build definition UI and now I cannot build solutions located in other team projects.
MS has Repositories listed, but only the current team project.
If I am in a build definition saved in Team Project A, how do I now map sources to a solution in Team Project B?
This used to be easy until this new build editor was released...
Upvotes: 0
Views: 733
Reputation: 33698
If you are using TFVC repository, you can specify the path of other team project in Workspace mappings, then the source in other team project would be downloaded too.
If you are using git repository, the better way is using submodule.
Upvotes: 1
Reputation: 38106
If the solution in team proejct B is not related with solution in team project A, you can go to projects page https://account.visualstudio.com/_projects (or go to the page from team project A directly by clicking the icon in the top left corner) to select team project B.
Then in the Build tab, create/edit your build definition and then queue your build.
BTW: in a build definition, it does only list the repositories in current team project. Even for the old build definition UI/editor, it also only list the repositories for the current team project.
Upvotes: 0