0
Я пытаюсь настроить стандартный ядро для своих модульных тестов, однако запуск этой части теста вызывает исключение SystemNotImplementedException.System.NotImplementedException Идентификационный номер узла
[TestMethod]
public void MyTestMethod()
{
var kernel = new StandardKernel();
kernel.Bind<IView1>().To<View1>();
kernel.Bind<IViewModel1>().To<ViewModel1>();
}
У кого-нибудь есть идеи, в чем проблема?
System.NotImplementedException was unhandled by user code
HResult=-2147467263
Message=The method or operation is not implemented.
Source=Ninject
StackTrace:
at Ninject.Syntax.BindingRoot.Bind[T]()
at Ninject.KernelBase..ctor(IComponentContainer components, INinjectSettings settings, INinjectModule[] modules)
at Ninject.KernelBase..ctor(INinjectModule[] modules)
at Ninject.StandardKernel..ctor(INinjectModule[] modules)
at TESTMETHOD in UNIT TEST LOCATION
InnerException: