I'm not sure it's having trouble loading QuickGraph since it's apparently already executing that code.
My guess is that it's actually having trouble loading your test assemblies or possibly something your test assemblies depend on. Perhaps it can't resolve the relative path. I don't know. Out of curiosity, could you try running the MbUnit MSBuild task using an absolute path? eg. <MbUnit Assemblies="@(TestAssemblies->'%(FullPath)')" ... /> Jeff. -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of AC [MVP MOSS] Sent: Wednesday, October 03, 2007 9:15 AM To: MbUnit.User Subject: MbUnit MSBuild integreation 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 -~----------~----~----~----~------~----~------~--~---
