You'll also need to add a reference to System.Windows.Forms.dll
.
You can see this in the documentation for FolderBrowserDialog
:
Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
The namespace is what you add via using
, the assembly is what needs to be referenced.