Call MenuCommandService.AddCommand on Main thread
Call MenuCommandService.AddCommand on Main thread

Calling on background thread can cause deadlock.

github/VisualStudio,github/VisualStudio,github/VisualStudio