private void CheckForMissingSdks() { var sdks = GenComposer.GetAllRequiredSdks(GetUserSelection()); var missingSdks = sdks.Where(sdk => !GenContext.ToolBox.Shell.IsSdkInstalled(sdk)).Select(sdk => Regex.Match(sdk, @"\d+(\.\d+)+").Value); if (missingSdks.Any()) { var notification = Notification.Warning(string.Format(StringRes.NotificationMissingSdk, missingSdks.Aggregate((i, j) => $"{i},{j}")), Category.MissingSdk, TimerType.None); NotificationsControl.AddNotificationAsync(notification).FireAndForget(); } else { NotificationsControl.CleanCategoryNotificationsAsync(Category.MissingSdk).FireAndForget(); } }