/// <summary>
        /// Loads the module into the kernel.
        /// </summary>
        public override void Load()
        {
            Bind <ILocalizer <SolutionInfo> >().To <SolutionLocalizer>();
            Bind <ILocalizer <NuspecInfo> >().To <NuspecLocalizer>();
            Bind <ILocalizerRegistry>().To <LocalizerRegistry>().InSingletonScope();

            Bind <IConfiguration>().ToMethod(context =>
            {
                var configuration = new Configuration.Configuration();
                configuration.Read();

                return(configuration);
            }).InSingletonScope();

            //ViewModels
            if (DesignMode.IsEnabled())
            {
                Bind <MainWindowViewModel>().To <DesignMainWindowViewModel>().InSingletonScope();
            }
            else
            {
                Bind <MainWindowViewModel>().To <MainWindowViewModel>().InSingletonScope();
            }
        }