Not sure how ReSharper's test runner works but it looks like it's copying some binaries into your application's bin folder. Web API searches all bin assemblies for ApiController classes, and it looks like whatever got copied by ReSharper is unable to load
some other DLL. You should look at your test project and verify the purpose of the JetBrains.ReSharper.Psi assembly.
marcind
Contributor
3344 Points
609 Posts
Microsoft
Re: Cannot create HttpServer from a test run by ReSharper
Mar 03, 2012 04:26 PM|LINK
Not sure how ReSharper's test runner works but it looks like it's copying some binaries into your application's bin folder. Web API searches all bin assemblies for ApiController classes, and it looks like whatever got copied by ReSharper is unable to load some other DLL. You should look at your test project and verify the purpose of the JetBrains.ReSharper.Psi assembly.
ASP.NET Team
@marcind
Blog