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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T00:08:28+00:00 2026-05-16T00:08:28+00:00

The CruiseControl.Net documentation advises against using the NUnit task, suggesting instead that NUnit is

  • 0

The CruiseControl.Net documentation advises against using the NUnit task, suggesting instead that NUnit is called within the build script.

I’m trying to work out what is the best way to achieve this.

I’ve added a ‘RunTests’ project to my solution which uses the NUnit MSBuild Community Task to execute the tests.

I wanted to add a ‘Test’ target to this project so that I could run MSBuild against the whole solution with the targets “Build;Test”. However, MSBuild didn’t like this, reporting thet the solution didn’t include a Test target.

What should I be doing? I’m not entirely clear why CruiseControl.Net suggests we don’t use the NUnit task. If I do wrap up the calls to NUnit within a MSBuild project, I’m not entirely sure if I should be calling MSBuild twice from CC.Net (once to build everything and once to call the test). If I should be combining the Build and Test within one call to MSBuild, how do I achieve this?

Any tips gratefully received.

Sandy

  • 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-16T00:08:29+00:00Added an answer on May 16, 2026 at 12:08 am

    There is no reason why you can’t have several calls to MSBuild from your ccnet project. In our projects, we have the first call to MSBuild compile the code. The second call uses an MSBuild script that runs our unit tests and code analysis.

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

Sidebar

Related Questions

We are investigating using CruiseControl.NET as both a Continues Integration build provider, as well
We use a CruiseControl.Net/NAnt/Subversion stack for CI. Doing a fresh checkout for every build
We're using CruiseControl.NET to manage our builds and we're in the process of obtaining
I'm setting up CruiseControl.NET and during the build I want to modify my version.txt
I've got build server running CruiseControl.NET and recently it started throwing this error on
I installed CruiseControl.net ( from the CruiseControl.NET-1.4-Setup.exe installer ) on my Vista x64 development
When I launch CruiseControl.NET with a particular configuration file I receive the following error:
I have CruiseControl.NET Version 1.4 set up on my development server. Whenever a developer
I currently have CruiseControl.NET set up with SVN to automatically grab the code source
I'm trying to setup CruiseControl.net at the moment. So far it works nice, but

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.