Another absolute brain eater is, it is so difficult to have a simple OpenFolder Dialog in WPF .NET 7.0.
I have following configuration in my WPF project file. VS2022 Version 17.5.1
<OutputType>WinExe</OutputType>
<TargetFramework>net7.0-windows</TargetFramework>
<UseWPF>true</UseWPF>
In Order to use OpenFolder dialog...
- -- if i Add System.Windows.Forms.dll, kicks of error in most lines of existing code.
- -- Microsoft.Win32 only has OpenFile And SaveFile dialog, makes no sense.
- -- So many fork of Microsoft.WindowsAPICodePack that its difficult to find which is original from MSFT.
Does anyone have a solution?