title: Xamarin forms app throws a null exception when creating StandardKernel
body: <p>I created with VS2017 a cross-platform App(Xamarin Forms) with the template set to Blank App, Platform Android, UI Tech Xamarin.Forms, Code Sharing .NET Standard. All builds and runs and displays "Welcome to Xamarin Froms".</p>
  
  <p>I added the Portable.Ninject package to both the .NET standard PCL project and the Android project.
  Created the following Test class and interface</p>
  
  <pre><code>public class Test : ITest
      {
          public string name { get; set; }
      }
  
  
  
  public interface ITest
      {
          string name { get; set; }
      }
  </code></pre>
  
  <p>A NinjectModule class</p>
  
  <pre><code>   public class modules : NinjectModule
  {
      public override void Load()
      {
          Bind&lt;ITest&gt;().To&lt;Test&gt;();
      }
  }
  </code></pre>
  
  <p>and in the class App:Application and added kernel creation in the constructor</p>
  
  <pre><code>public App ()
          {
  
              InitializeComponent();
  
              var settings = new NinjectSettings();
              settings.LoadExtensions = false;
  
              var mods = new modules();
              var kernel = new StandardKernel(mods);
  
              var test = kernel.Get&lt;ITest&gt;();
  
              MainPage = new App12.MainPage();
          }
  </code></pre>
  
  <p>When ran an ArgumentNULLException. Parameter name:path1 occurs at the new StanardKernel( new modules() ).</p>
  
  <p>Any help will be appreciated. I have tried the Ninject Nuget package, creating the StandardKernel in the android project MainActivity:Oncreate, deleting packages, bin and obj folders ... all with the same result</p>
  
  <p>Addition :- Separated the instantiate of modules class the following is watch window. Shouldn't the Binding list have a count of 1 ?  </p>
  
  <pre><code>-       mods    {App12.modules} App12.modules
  -       base    {Ninject.Modules.NinjectModule} Ninject.Modules.NinjectModule
  +       base    {Ninject.Syntax.BindingRoot}    Ninject.Syntax.BindingRoot
  +       Bindings    Count = 0   System.Collections.Generic.List&lt;Ninject.Planning.Bindings.IBinding&gt;
          Kernel  (null)  Ninject.IKernel
          Name    "App12.modules" string
  +       Non-public members      
  </code></pre>