protected override async Task ExecuteAsync(AsyncPackage package, OleMenuCommand cmd, OleMenuCmdEventArgs e) { EnvDTE.ProjectItem item = await ProjectHelpers.GetSelectedProjectItemAsync(); System.Windows.Forms.MessageBox.Show(item.ToString()); await StatusBar.SetTextAsync("This is great"); await Task.Delay(2000); await StatusBar.StartAnimationAsync(StatusAnimation.Find); await Task.Delay(2000); await StatusBar.EndAnimationAsync(StatusAnimation.Find); await Task.Delay(2000); await StatusBar.SetTextAsync("ost"); await Task.Delay(2000); await StatusBar.ClearAsync(); }