If we run the program as .exe, it's working totally fine. tried it with 4 different computer with VS 2015, 3 of them not working in debug mode, every computer has the same VS 2015 with community license. We have gone through this link, but there is no exact solution indicated. It's been six years of the questions and still no solution.
This is WinForms application and here is the code execute when a button is clicked:
`folderBrowserDialog1.ShowDialog();
txtCount.Text = folderBrowserDialog1.SelectedPath;`