I'm running into an odd issue when writing some integration tests targeting an in-memory Owin web server with Ninject. The error is as follows:
Code:
System.InvalidOperationException: This module requires Ninject.Web.WebAPI extension
I call it odd because R#'s test runner runs the test just fine.
It appears the issue might stem from Ninject's assembly scan for extensions (e.g. the one above) per a R# issue discussed here (https://devnet.jetbrains.com/thread/475198). The workaround in the second post does allow NCrunch to finish the tests correctly. This issue was resolved in R# 10.0.1.
I am currently running NCrunch v2.20.0.2 as I'm using VS15 with .Net 4.6.1 under Windows 10 (from
http://forum.ncrunch.net...ET-framework-4-6-1.aspx).