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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T06:04:08+00:00 2026-05-11T06:04:08+00:00

I’ve recently installed MbUnit version 2.4.2.355 on our build server which runs via Cruise

  • 0

I’ve recently installed MbUnit version 2.4.2.355 on our build server which runs via Cruise Control.NET and NAnt, on a Windows Server 2003 machine with .NET Framework 3.5 SP1 installed.

I’ve checked every nook and cranny of the build scripts, and the NAnt output report on CC.NET tells me that the test project builds fine.

This is the NAnt script:

<target name='compiletests' description='Compiles unit tests separately'>     <exec program='${netframework.dir}\msbuild.exe'>         <arg line='C:\dev\PROJ3.1\trunk\src\PROJ\Customer\CustomerUnitTests\Company.CustomerUnitTests.csproj  /t:Rebuild /p:Configuration=Debug'></arg>     </exec> </target> 

And the output is the ff:

[exec] Company.CustomerUnitTests -> C:\dev\PROJ.1\trunk\src\PROJ\Customer\CustomerUnitTests\bin\Debug\Company.CustomerUnitTests.dll [exec] Done Building Project ‘C:\dev\PROJ.1\trunk\src\PROJ\Customer\CustomerUnitTests\Company.CustomerUnitTests.csproj’ (Rebuild target(s)). [exec] Build succeeded. [exec] ‘C:\dev\PROJ3.1\trunk\src\PROJ\Customer\CustomerUnitTests\Company.CustomerUnitTests.csproj’ (Rebuild target) (1) ->

What this means is that the build of the unit test assembly succeeded.

Thing is, at the end of the NAnt outputs is this:

mbunit-tests: [mbunit] MbUnit 2.4.2.355 test runner [mbunit] No test assemblies found in test

I’ve gone console and tried using MbUnit.Cons.Exe to manually test the compiled assemblies. The results went like this:

  • Test assemblies built using my Windows XP SP3 machine were properly recognized and the tests were being run properly on my machine, and on any other dev machine for that matter.
  • Test assemblies built in the build server running Windows Server 2003 weren’t being recognized as test assemblies; I tried copying those files into my XP machine and they weren’t recognized either.

I’m now wondering: what is the difference between a test assembly and a non-test assembly? I’m sure it has something to do with the Test and TestFixture attributes, but in my case, why are the assemblies compiled in WinXP machines compiled as tests, and those compiled the Win2K3 machine not recognized?

Hope someone has a clue on this.

  • 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. 2026-05-11T06:04:09+00:00Added an answer on May 11, 2026 at 6:04 am

    First of all check this issue.
    If this not help, you need to check target platform (project properties, build) to be ‘Any CPU’. After this try to open assembly which is generated on your build machine using Reflector. May be generated files are corrupted. And also could you please try to build the project manually using VS and load generated tests in MbUnit.

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

Sidebar

Related Questions

No related questions found

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.