Closed emmanuele-villa closed 7 years ago
I would not recommend using Ninject for a mobile app. I would use one of the built-in service locators that come with MvvmLight, MvvmCross, or ReactiveUI. They are much more tuned for mobile and small footprint scenarios.
Well, maybe there are better alternatives.. but I already have an android and ios application made like this and I'm just trying to re-use the PCL library for the new tvOS projects... so, is it just not recommended or it's not supported at all?
I don't think you'll find much support
sorry, let me clarify my question: is there a way to have ninject work on tvOS without edits on your side or it launches the exception because the platform is not supported by the library?
Hi, I'm trying to use Ninject Portable in a tvOS project, but I get a "NotImplementedException" in BindingRoot.Bind() when I call the StandardKernel constructor.
The same code is working for Android and iOS, so I can't think of what the problem is.
Does it enter in the #if PCL case if it's a platform that Ninject doesn't recognise? Since I could successfully add the ninject.portable package in the project I supposed that tvOS was supported. Is this the case?
Thanks