I posted a message about this a while back, but was trying to get it
working with the latest drop today (v2.4) and running into issues
again. I've followed the doc instructions on adding it for my project,
but when I run it I have issues loading the assemblies (I see it runs
fine in the output window when setting the report type and name...):
C:\Development\Scratch\ClassLibrary3\ClassLibrary3.csproj(53,5):
error : Unexpected failure during MbUnit execution
C:\Development\Scratch\ClassLibrary3\ClassLibrary3.csproj(53,5):
error : Failed loading assemblies
C:\Development\Scratch\ClassLibrary3\ClassLibrary3.csproj(53,5):
error : at
MbUnit.Core.Graph.TestDomainDependencyGraph.BuildGraph(String[]
testAssemblies, String[] assemblyPaths, IFixtureFilter fixtureFilter,
IRunPipeFilter runPipeFilter, Boolean verbose)
C:\Development\Scratch\ClassLibrary3\ClassLibrary3.csproj(53,5):
error : at
MbUnit.Core.Graph.TestDomainDependencyGraph.BuildGraph(String[]
testAssemblies, String[] assemblyPaths, IFixtureFilter fixtureFilter,
Boolean verbose)
C:\Development\Scratch\ClassLibrary3\ClassLibrary3.csproj(53,5):
error : at MbUnit.MSBuild.Tasks.MbUnit.InternalExecute()
C:\Development\Scratch\ClassLibrary3\ClassLibrary3.csproj(53,5):
error : at MbUnit.MSBuild.Tasks.MbUnit.Execute()
As you can see, it's having trouble loading the assemblies needed for
graphing. Any ideas here? Should this work in the latest drop?
Here's what my changes look like in the project file:
<UsingTask TaskName="MbUnit.MsBuild.Tasks.MbUnit"
AssemblyFile="C:\Program Files\MbUnit
\MbUnit.MSBuild.Tasks.dll" />
<ItemGroup>
<TestAssemblies Include="bin\debug\ClassLibrary3.dll" />
</ItemGroup>
<Target Name="AfterBuild">
<MbUnit Assemblies="@(TestAssemblies)"
ReportTypes="html"
ReportOutputDirectory="." />
</Target>
I've also verified that all four files are in the %programfiles%
\MbUnit folder and are being copied into the bin\debug of my project.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---