In my WPF Application I used OpenFileDialog to select an image and load it to app, this works fine as expected.
But if I run same app from a flash drive, image loades after that UI freezes, any clicks on UI makes app to crash.
I have admin manifest to app also.
Here In this case
OpenFileDialogwill cause the app to hang and crash.So moved
OpenFileDialogto a new thread. And everything works fine.