/// <summary>Implements the OnStartupComplete method of the IDTExtensibility2 interface. Receives notification that the host application has completed loading.</summary> /// <param term='custom'>Array of parameters that are host application specific.</param> /// <seealso class='IDTExtensibility2' /> public void OnStartupComplete(ref Array custom) { try { _scriptInit.Initialize(_ssmsAbstract); } catch (Exception ex) { System.Windows.MessageBox.Show(ex.Message, "OnStartupComplete"); } }
public bool Should_Have_Saved_Correct_Executable_To_Assembly_Path(string runnerName) { var expectedPath = Path.Combine(this.addinAssemblyDirectory, runnerName); if (File.Exists(expectedPath)) { File.Delete(expectedPath); } AddinInitializer.Initialize(); // The file should have been saved to path already in the setup method return(File.Exists(expectedPath)); }
public void InitializeAddin() { AddinInitializer.Initialize(); }