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

  • SEARCH
  • Home
  • 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 6547939
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T11:53:28+00:00 2026-05-25T11:53:28+00:00

I am using the built in TeamCity NUnit runner to run tests stored in

  • 0

I am using the built in TeamCity NUnit runner to run tests stored in .DLL files.

My .DLLs are referencing other DLLs which are present in the same folder.

When running these, i am getting a FileNotFoundException for the referenced DLLs.

How can i fix this? I am thinking perhaps the TC NUnit runner is using some other dir as the main app execution folder, and thus preventing from files that are actually residing next to the test DLL to not load properly, but cannot prove this claim yet…

Anyone else encountered this behaviour?

  • 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-25T11:53:28+00:00Added an answer on May 25, 2026 at 11:53 am

    OK the problem is solved and it is indeed silly and embarrassing:

    I have set the NUnit test runner to execute these tests:

    **/*.Tests.dll
    

    This means that it will include tests from /bin/Debug/ and also from other folders, such as obj/

    In these folders, no references are included of course, making the same tests run twice and some of these fail of course!

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

Sidebar

Related Questions

I'm trying to run Watin from within a TeamCity build, using nUnit. All tests
XCode 3.1.2 using built-in OCTest unit testing. I'm getting a crash when unit tests
My website is built using php files. I use trade secret algorithms in these
Setting up TeamCity 5.0.1 to run unit tests for the first time, we're seeing
I am trying to run unit tests in my TeamCity build that require openJPA
I have a C++ Builder 2010 project that's being built using TeamCity . I
Is it possible to use NUnit to run CQL queries using NDepend? It would
How to increment the Assembly version on each build in TeamCity using Build Runner
I am using TeamCity to run an MSBuild script that cleans and rebuilds one
We are using TeamCity 6.0.2 and have a build configuration that runs SoapUI tests.

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.