Referencing a unit test dll from a project

Completed

Hi Guys,

I'm new to Teamcity. I want to add unit testing to a pipeline. However, my unit tests dll is built from another project in Visual Studio. What would be the syntax needed to reference this from another project in teamcity?

 

Thanks!

1 comment
Comment actions Permalink

Do you mean you have another build in TeamCity which produces the dll? If that build produces the dll as an artifact, you can use an Artifact Dependency in your other build.

Artifact Dependencies provide you with a convenient means to use the output (artifacts) of one build in another build. When an artifact dependency is configured, the necessary artifacts are downloaded to the agent before the build starts. You can then review what artifacts were used in the build or what build used the artifacts of the current build using the Dependencies tab of build results.

Please see our documentation on Artifact Dependencies: https://www.jetbrains.com/help/teamcity/dependent-build.html#DependentBuild-ArtifactDependency

0

Please sign in to leave a comment.