MudassarRasool / mb-unit

Automatically exported from code.google.com/p/mb-unit
0 stars 0 forks source link

MBUnit v3.2. Unable to load one or more of the requested types. #786

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Install Gallio MBUnit 3.2 on build server.
2.Error in build occurs.

What is the expected output? What do you see instead?

Reference: OArm.Emulator.Tests, Version=1.0.0.0, Culture=neutral, 
PublicKeyToken=null
Details: System.Reflection.ReflectionTypeLoadException: Unable to load one or 
more of the requested types. Retrieve the LoaderExceptions property for more 
information.
   at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
   at System.Reflection.Assembly.GetTypes()
   at Gallio.Common.Reflection.Impl.NativeAssemblyWrapper.GetTypes() in c:\Server\Projects\MbUnit v3.2\Work\src\Gallio\Gallio\Common\Reflection\Impl\NativeAssemblyWrapper.cs:line 73
   at Gallio.Framework.Pattern.TestAssemblyPatternAttribute.PopulateChildrenImmediately(IPatternScope assemblyScope, IAssemblyInfo assembly) in c:\Server\Projects\MbUnit v3.2\Work\src\Gallio\Gallio\Framework\Pattern\TestAssemblyPatternAttribute.cs:line 148
   at Gallio.Framework.Pattern.TestAssemblyPatternAttribute.Consume(IPatternScope containingScope, ICodeElementInfo codeElement, Boolean skipChildren) in c:\Server\Projects\MbUnit v3.2\Work\src\Gallio\Gallio\Framework\Pattern\TestAssemblyPatternAttribute.cs:line 76
   at Gallio.Framework.Pattern.DefaultPatternEvaluator.Consume(IPatternScope containingScope, ICodeElementInfo codeElement, Boolean skipChildren, IPattern defaultPrimaryPattern) in c:\Server\Projects\MbUnit v3.2\Work\src\Gallio\Gallio\Framework\Pattern\DefaultPatternEvaluator.cs:line 133

What version of the product are you using? On what operating system?
Windows Server 2008, Service Pack 2. MBUnit 3.2 x64

Please provide any additional information below.

Same build on developers machine is working fine

Original issue reported on code.google.com by mailtoag...@gmail.com on 8 Dec 2010 at 2:08

GoogleCodeExporter commented 8 years ago
Seems Gallio cannot resolve a type in the test project. Have you deployed 
everything you need on the build server? i.e. every required components and 
dependent assemblies with the right versions, etc.

Original comment by Yann.Tre...@gmail.com on 11 Dec 2010 at 7:46