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 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're using CruiseControl.NET which invokes an MSBuild script. While debugging the build script, we
We are investigating using CruiseControl.NET as both a Continues Integration build provider, as well
I am using NUnit with CruiseControl.NET. I have many test projects and assemblies. When
We're using CruiseControl.Net to do our continuous integration of our web applications. we build
I'm using SVN + CruiseControl.NET + MSBuild to build .NET projects. These are the
I'm using CruiseControl.net with Visual SourceSafe and every now and again the build fails
we are using CruiseControl.NET for our build process and in ccnet.config, I want to
I'm just getting started with CruiseControl .NET (using the Manning Continuous integration book that
We're using CruiseControl.NET for our build server and Subversion for source control. Our IT
I am using CruiseControl .NET with the Subversion source control plugin to automatically build

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.