I'm having the exact same troubles as those reported in the "MSBuild integreation" [sic] thread (Sorry, I don't seem to be able to reply directly to it):
http://groups.google.com/group/MbUnitUser/browse_frm/thread/2143ef34960dba02 If I deliberately misspell the assembly to test it gives me: UnitTests.csproj(96,7): error : Test assembly D:\Main\Src\UnitTests\bin \Debug\BadFileName.dll cannot be found UnitTests.csproj(96,7): error : Full name: D:\Main\Src\UnitTests\bin \Debug\BadFileName.dll UnitTests.csproj(96,7): error : Unexpected failure during MbUnit execution UnitTests.csproj(96,7): error : Failed loading assemblies UnitTests.csproj(96,7): error : at MbUnit.Core.Graph.TestDomainDependencyGraph.BuildGraph(String[] testAssemblies, String[] assemblyPaths, IFixtureFilter fixtureFilter, IRunPipeFilter runPipeFilter, Boolean verbose) UnitTests.csproj(96,7): error : at MbUnit.Core.Graph.TestDomainDependencyGraph.BuildGraph(String[] testAssemblies, String[] assemblyPaths, IFixtureFilter fixtureFilter, Boolean verbose) UnitTests.csproj(96,7): error : at MbUnit.MSBuild.Tasks.MbUnit.InternalExecute() UnitTests.csproj(96,7): error : at MbUnit.MSBuild.Tasks.MbUnit.Execute() When I enter the assembly correctly I get the error the OP mentioned: UnitTests.csproj(96,7): error : Unexpected failure during MbUnit execution UnitTests.csproj(96,7): error : Failed loading assemblies UnitTests.csproj(96,7): error : at MbUnit.Core.Graph.TestDomainDependencyGraph.BuildGraph(String[] testAssemblies, String[] assemblyPaths, IFixtureFilter fixtureFilter, IRunPipeFilter runPipeFilter, Boolean verbose) UnitTests.csproj(96,7): error : at MbUnit.Core.Graph.TestDomainDependencyGraph.BuildGraph(String[] testAssemblies, String[] assemblyPaths, IFixtureFilter fixtureFilter, Boolean verbose) UnitTests.csproj(96,7): error : at MbUnit.MSBuild.Tasks.MbUnit.InternalExecute() UnitTests.csproj(96,7): error : at MbUnit.MSBuild.Tasks.MbUnit.Execute() Running as an <Exec> command instead works just fine. My task looks like this: <MbUnit Assemblies="$(TargetPath)" ReportTypes="xml" ReportFileNameFormat="mbunittestreport.{0}.{1}" ReportOutputDirectory="$(TargetDir)" /> I've used various forms of hardcoding instead of $(TargetPath) etc to no avail. Any ideas? -Wes --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
