Can't get folder dialog pop up.
I'm using v5.20.01(AnyCPU)
Running the above (as a c# program) just hangs on `ShowDialog`. I found THIS on SO, but that was a year ago and messing with that setting doesn't change what I'm seeing at all.
void Main()
{
using (var fbd = new FolderBrowserDialog())
{
DialogResult result = fbd.ShowDialog();
}
}
Running the above (as a c# program) just hangs on `ShowDialog`. I found THIS on SO, but that was a year ago and messing with that setting doesn't change what I'm seeing at all.
Comments
(Adding [STAThreadAttribute] to the Main method made no difference.)