I was using the mbunit tag instead of the gallio tag, I found an example in the internet. It seems to run with no problems, now I have to integrate the (gallio)results into ccnet. Chris
On Mar 20, 5:35 pm, "Jeff Brown" <[email protected]> wrote: > What was the cause? > > Jeff. > > -----Original Message----- > From: [email protected] [mailto:[email protected]] On > > Behalf Of Chris > Sent: Friday, March 20, 2009 3:11 PM > To: MbUnit.User > Subject: Re: NAnt & MbUnit 3.0.5 build 546 > > Whoops, I found what I was looking for. Google finally cooperated. ;) > > On Mar 20, 4:40 pm, Chris <[email protected]> wrote: > > I originally installed MbUnit v2 and then I installed the v3 Gallio > > (uninstalling v2) for .NET 3.5 support. I'm trying to call MbUnit > > 3.0.5 from an NAnt build script, I have the following code(assume all > > the variables... ${build.path}.... etc. are correct): > > > <target name="RunSharedTest" depends="CompileSharedTests" > > description="Test the Shared" > > > <mbunit report-types="xml;" report-output-directory="$ > > {test.results.directory}\Shared" > > > <assemblies> > > <include asis="true" > > name="${build.path}Net\Common\Shared.UnitTests > > \bin\Debug\Shared.UnitTests.dll" /> > > </assemblies> > > </mbunit> > > <echo message="Done With Test" /> > > </target> > > > I'm getting the following error message from the cmd line: > > RunSharedTest: > > > [mbunit] MbUnit 2.4.2.355 test runner > > [mbunit] Loading 1 assemblies > > [mbunit] AssemblyName: C:\svn_repos\trunk\Net\Common > > \Shared.UnitTests\bin\Debug\Shared.UnitTests.dll > > > BUILD FAILED > > > Unexpected engine error while running Tests > > Failed loading assemblies > > Failed loading TestDomain > > Failed loading assembly > > Failed creating the TestEngine instance > > Could not load file or assembly 'file:///C: > > \MbUnit.Framework.dll' or one of its dependencies. The system cannot > > find the file specified. > > > It appears as though it's still trying to call the older v2(and I see > > a little window pop up momentarily from the Gallio Icarus UI) when > > this script runs. How do I get NAnt to call MbUnit v3? Hope this is > > posted in the right spot. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "MbUnit.User" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/MbUnitUser?hl=en -~----------~----~----~----~------~----~------~--~---
