We have a fairly big SharePoint project where we use TFS, kicking of a build runs some tests and everything works as expected, but we get a warning:
CA0060 : The indirectly-referenced assembly 'BihConsumerInterop, Version=126.96.36.199, Culture=neutral, PublicKeyToken=48e046c834625a88' could not be found. This assembly is not required for analysis, however, analysis results could be incomplete. This assembly was referenced by: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\ISAPI\Microsoft.Office.Server.Search.dll.
Now the solution according to other blogposts is to add the referenced DLL to the project, but it seems i cannot find anything about the assembly BihConsumerInterop, so I was wondering if there was anyone that knows a bit more about this DLL :)
For the purposes of what we were doing, putting C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\ISAPI\Microsoft.Office.Server.Search.dll in the GAC got around our problem.
Hope this helps.
- Proposed as answer by AKrasheninnikov Thursday, April 25, 2013 12:45 PM
We are trying to execute unit tests on our build server and running into the same problem.
It seems that BihConsumerInterop cannot be found anywhere on the server.
We've tried adding Microsoft.Office.Server.Search.dll to the GAC, but this error still persists.
Would love to hear from Microsoft on this before installing SharePoint on our server.