Open clairernovotny opened 9 years ago
I'm seeing the same thing. It's in a WatchExtension though for iOS. The actual iOS app works just fine. Reference to the issue here:
http://forums.xamarin.com/discussion/36494/ninject-portable-watchkit-standard-kernal-error#latest
I can also confirm that the workaround works in this case:
var settings = new NinjectSettings();
settings.LoadExtensions = false;
Seems to be a null coming from one of the base path's in the ModuleLoader NormalizePaths.
Workaround for now:
Use one of the StandardKernel ctor's which takes a NinjectSettings and set the LoadExtensions property to false. That should bypass the code that’s throwing.