Open laynor opened 9 years ago
I found a workaround disabling extension loading in ninject:
public void before_each()
{
var settings = new NinjectSettings { LoadExtensions = false };
_kernel = new StandardKernel(settings);
_pluginManager = new PluginManager(_kernel, @"..\..\..\ExamplePlugin\bin\debug\");
}
I found the workaround in the photon engine forum - the last post gives an insight of what is causing the issue.
Before version 0.2.1, this spec was working correctly, now an error is triggered when creating a Ninject
StandardKernel
objectNo other code is needed to replicate the bug, just create a new class library project and add this class, along with the nuget packages
Ninject
andNSpec
, and run the tests from the test explorer.