Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7404221
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T05:13:31+00:00 2026-05-29T05:13:31+00:00

I have a test solution (TestSolutionA) which contains a test project (TestProjectA: containing system

  • 0

I have a test solution (TestSolutionA) which contains a test project (TestProjectA: containing system tests with NUnit) and have a reference to another existing project (ProjectB) since my test project needs to read some of the classes of that project such as EmailHelper.

Folder structure in TFS:

*Root
**Tests
***References
***TestSolutionA
****TestProjectA
**ClassLibraries
***ProjectB

The References folder contains assemblies such as NUnit.dll, etc which are used by the TestProjectA.

Now I have configured TeamCity so that it builds the TestSolutionA and runs the tests of the TestProjectA. This means that when the TestSolutionA is built, all the files and folders which have been referenced in this solution are checked out to a “Check Out Directory” and then the solution builds.

The problem is that this test solution is slow to build because each time it has to check out/export all the files and folders of the ProjectB to the TeamCity Server and rebuild them whereas only the dll of the ProjectB is required not all files/classes which are in it.

The problem appears more when more external projects are involved.

Would there be any better solution to speed up the build in such scenarios where a test project has to reference external projects? e.g. building the assembly on the fly rather than checking them out/exporting them to the TeamCity Server.

Not sure it’s possible.

Hope the question is clear.

Thanks,

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T05:13:32+00:00Added an answer on May 29, 2026 at 5:13 am

    What you need to do is to create a separate TeamCity build configuration for ProjectB that builds the DLL and publishes it as an artifact. You can then configure the TestSolution build configuration so that it has an artifact dependency on the ProjectB DLL. This way your TestSolution build configuration won’t have to pull any source code for ProjectB at all.

    Some useful links in the TeamCity documentation are:

    http://confluence.jetbrains.net/display/TCD65/Build+Artifact

    http://confluence.jetbrains.net/display/TCD65/Artifact+Dependencies

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a test project in my appharbor solution which uses the connectionstring located
I have a VS 2010 Load test solution that contains quite a web tests
I have a test file that contains tests taking quite a lot of time
I have one test project for each project in my solution. Is there a
I have a test solution which only has one area called Admin. I would
I have a project like this: Test Solution Project TestApplication References: TestFunctions.dll(ver 1.0.0.0),Project TestDLL
Is it better to have a unit-test project per solution or a unit-test project
In my next project I will have to implement an automation solution to test
I have a test project using MbUnit and TestDriven.Net. If I right-click on an
I have a test generator written in Perl. It generates tests that connect to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.