When a user activates a map tool, I want to prompt them for a folder using FolderBrowserDialog. As soon as the dialog opens, the application hangs. To simplify this test, I also tried just showing a message box. The message box shows, but then the application hangs, and I cannot click OK on the message box or interact with the rest of Pro. Is there a way to prompt the user during OnToolActivateAsync?
protected override Task OnToolActivateAsync(bool hasMapViewChanged)
MessageBox.Show("Now we are stuck");
Visual Studio 2017 Community Edition
Pro SDK for .NET (and Utilities) 18.104.22.16869