Build dependencies

Answered

I have 2 different builds in 2 different projects and one depends on the other's output (dll reference).

I was thinking what's the best way of configuring this dependency in TeamCity in such a way that a local build also works fine.

Currently since these projects are in separate solutions ProjectA references a ProjectB dll from an assemblies folder on its source root.

2 comments

Hi Ricardo,

Instead of artifact dependencies in TeamCity you can use package manager, for example NuGet, to store packages and use them in other solutions. 

0

Hi.

How does that work locally though? Every time the build runs I have a new version of the dependency, I'd have to dynamically update the version of the referenced nuget? Or do it manually everytime the build runs?

0

Please sign in to leave a comment.