In my case there was problem with async method Main() in Program class. When I have changed it to sync, FolderBrowserDialog has opened ok.