public void Bootstrap(string watchToken) { _watchToken = watchToken; BootStrapper.Configure(new LocalAppDataConfigurationLocator("AutoTest.config.template.VS")); BootStrapper.Container .Register(Component.For <IMessageProxy>() .Forward <IRunFeedbackView>() .Forward <IInformationFeedbackView>() .Forward <IConsumerOf <AbortMessage> >() .ImplementedBy <MessageProxy>().LifeStyle.Singleton); BootStrapper.Services .Locate <IRunResultCache>().EnabledDeltas(); BootStrapper.InitializeCache(_watchToken); BootStrapper.Services .Locate <IMessageProxy>() .SetMessageForwarder(new FeedbackListener(_window)); _configuredCustomOutput = BootStrapper.Services.Locate <IConfiguration>().CustomOutputPath; _watcher = BootStrapper.Services.Locate <IDirectoryWatcher>(); _watcher.Watch(_watchToken); _window.DebugTest += new EventHandler <UI.DebugTestArgs>(_window_DebugTest); _window.SetMessageBus(BootStrapper.Services.Locate <IMessageBus>()); setCustomOutputPath(); _window.Clear(); }