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 701621
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T03:37:49+00:00 2026-05-14T03:37:49+00:00

I’m struggling a lot trying to get our build server going. I am currently

  • 0

I’m struggling a lot trying to get our build server going. I am currently running tests in a Windows XP virtual machine, and have installed TeamCity v5.0.3, build 10821. I am using NUnit v2.5.3.

I finished the initial setup with TeamCity without any issues at all, provided that I use the sln2008 build runner that makes the entire process almost brainless. It’s really quite nice that way, and very satisfying to see your first successful automated build.

Now it’s time to kick it up a notch and I wanted to get NUnit working. I keep the NUnit 2.5.3 assemblies in an external libs folder in SVN, so I checked that out onto the test system. I selected NUnit 2.5.3 from the build runner options, as the online instructions had recommended. But when I build, I get the following error:

Window1.xaml.cs(14,7): error CS0246: The type or namespace name ‘NUnit’ could not be found (are you missing a using directive or an assembly reference?) 
Window1.xaml.cs(28,10): error CS0246: The type or namespace name ‘Test’ could not be found (are you missing a using directive or an assembly reference?) 
Window1.xaml.cs(28,10): error CS0246: The type or namespace name ‘TestAttribute’ could not be found (are you missing a using directive or an assembly reference?)

Everything compiles great in the IDE.

From finding blog posts and submitting comments, I got some advice and confirmed the following:

  • I have the HintPath value set properly in my project file (points to the external lib)
  • I can also do a full Release and Debug build from the command line using msbuild
  • I have tried do use the NUnit installer so nunit.framework.dll gets registered into the GAC
  • I have changed the build agent’s logon account to be a user on the test system, rather than LOCAL SYSTEM.

Nothing seems to help… can anyone else here offer me some advice on what to try next?

  • 1 1 Answer
  • 1 View
  • 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-14T03:37:50+00:00Added an answer on May 14, 2026 at 3:37 am

    I have gotten this to work, but not in the configuration that I really want. It turns out that on my machine, for whatever reason, when I installed NUnit 2.5.3, nunit.framework.dll was not registered in the GAC.

    You can figure this out by entering gacutil /l | find /i "nunit" at the VS2008 command prompt. So I just installed it with gacutil /i.

    Then I re-ran the sln2008 build runner, and it completed okay.

    I just realized that while the build completed, TC’s NUnit runner failed to actually execute any unit tests. It basically told me that the “…\bin\debug doesn’t exist”. ???

    Unfortunately, what I really need is for this to work without NUnit in the GAC, because I have all of my systems referencing nunit.framework.dll in an external libs folder that is saved in SVN.

    Currently, my options are:

    • ensure that all systems have the same version of NUnit installed (in the same location, too?)
    • have TeamCity somehow uninstall and then reinstall nunit.framework.dll from SVN every time it does a build

    UPDATE

    I finally figured it out. Another user error… I only looked at the short log to try to determine my problem, and only after looking at the full log did I realize that my relative path to nunit.framework.dll was wrong. Once I did that (and also had to specify all assemblies to have NUnit test), everything built and my tests are now running. This is pretty sweet!

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

Sidebar

Related Questions

I'm trying to convert HTML to plain text. I get many &\#8217; &\#8220; etc.
We're building an app, our first using Rails 3, and we're having to build
I am currently running into a problem where an element is coming back from
Let's say I'm outputting a post title and in our database, it's Hello Y’all
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I am trying to understand how to use SyndicationItem to display feed which is
I have a French site that I want to parse, but am running into
I want use html5's new tag to play a wav file (currently only supported
I am trying to render a haml file in a javascript response like so:

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.