Found OpenFileDialog in Microsoft.Win32 but there is no OpenFolderDialog

78 Views Asked by At

I have included using Microsoft.Win32 and when I type OpenFileDialog it finds the reference but there doesn't seem to be any OpenFolderDialog. The Microsoft documentation says it exists but Visual Studio does not find it. I am using WPF and VS2022. Is there some other alternative to selecting a folder instead of a file? Thanks.

I tried to launch a new OpenFolderDialog and there is no reference to it in Microsoft.Win32. I can use OpenFileDialog though.

0

There are 0 best solutions below