public IEnumerable <WorkloadId> GetUpdatableWorkloadsToAdvertise(IEnumerable <WorkloadId> installedWorkloads) { try { var overlayProvider = new TempDirectoryWorkloadManifestProvider(Path.Combine(_userProfileDir, "sdk-advertising", _sdkFeatureBand.ToString()), _sdkFeatureBand.ToString()); var advertisingManifestResolver = _workloadResolver.CreateOverlayResolver(overlayProvider); return(_workloadResolver.GetUpdatedWorkloads(advertisingManifestResolver, installedWorkloads)); } catch { return(Array.Empty <WorkloadId>()); } }