async Task CheckBindingPathsAsync() { try { // When running in the Exp instance, ensure there is only one active binding path. // This is necessary when the regular (AllUsers) extension is also installed. // See: https://github.com/github/VisualStudio/issues/2006 await JoinableTaskFactory.SwitchToMainThreadAsync(); BindingPathHelper.CheckBindingPaths(GetType().Assembly, this); } catch (Exception e) { log.Error(e, nameof(CheckBindingPathsAsync)); } }
private async Task CheckBindingPathsAsync() { await JoinableTaskFactory.SwitchToMainThreadAsync(); BindingPathHelper.CheckBindingPaths(GetType().Assembly, this); }