Dear ladies and sirs.

I have just compiled a certain project (NHibernate 2.1.2 GA to be
exact) on the .NET 4 platforn. The project comes with NUnit unit test
assembly (NHibernate.Test), which I have attempted to run with
Gallio.Echo.

It failed with the following exception:

[error] An exception was thrown while exploring an NUnit test
assembly.
        Location: C:\dev\3rd_party\bin\DotNet\Debug
\NHibernate.Test.DLL
        Reference: NHibernate.Test, Version=2.1.2.4000,
Culture=neutral, PublicKeyToken=d3fe798237e2daf9
        Details: System.Reflection.ReflectionTypeLoadException: Unable
to load one or more of the requested types. Retri
eve the LoaderExceptions property for more information.
   at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
   at System.Reflection.RuntimeModule.GetTypes()
   at System.Reflection.Assembly.GetTypes()
   at
NUnit.Core.Builders.TestAssemblyBuilder.GetCandidateFixtureTypes(Assembly
assembly, String ns)
   at NUnit.Core.Builders.TestAssemblyBuilder.GetFixtures(Assembly
assembly, String ns)
   at NUnit.Core.Builders.TestAssemblyBuilder.Build(String
assemblyName, Boolean autoSuites)
   at NUnit.Core.Builders.TestAssemblyBuilder.Build(String
assemblyName, String testName, Boolean autoSuites)
   at NUnit.Core.TestSuiteBuilder.Build(TestPackage package)
   at NUnit.Core.SimpleTestRunner.Load(TestPackage package)
   at NUnit.Core.ProxyTestRunner.Load(TestPackage package)
   at NUnit.Core.ProxyTestRunner.Load(TestPackage package)
   at NUnit.Core.RemoteTestRunner.Load(TestPackage package)
   at
Gallio.NUnitAdapter.Model.NUnitNativeTestExplorerEngine.CreateTestRunner(String
assemblyLocation)
   at
Gallio.NUnitAdapter.Model.NUnitNativeTestExplorerEngine.BuildAssemblyTest(Test
parent)
   at
Gallio.NUnitAdapter.Model.NUnitNativeTestExplorerEngine.ExploreAssembly(Boolean
skipChildren)
   at
Gallio.NUnitAdapter.Model.NUnitTestExplorer.ExploreImpl(IReflectionPolicy
reflectionPolicy, ICodeElementInfo codeE
lement)

My gallio version is 3.1 build 514

How do I troubleshoot it?

Thanks.

-- 
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.

Reply via email to