Microsoft.Office.Server.Search.dll = Bug?

Oct 15, 2010 at 7:17 AM

Hi!

I'm trying to do unit testing on Sharepoint 2010, but I get this exception/issue from PEX when I run the test:

[critical] unexpected exception while exploring testSystem.TypeLoadException: Could not load type 'Microsoft.Office.Server.Search.Query.ResultTableCollection' 
from assembly 'Microsoft.Office.Server.Search, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c'.��at System.Reflection.MethodBody 
System.RuntimeMethodHandle.GetMethodBody(System.IRuntimeMethodInfo method, System.RuntimeType declaringType)��at System.Reflection.MethodBody 
System.Reflection.RuntimeMethodInfo.GetMethodBody()

 

If someone has a solution or workaround, I'd love to hear it :-).

Thanks,

Bastien