SaveFileDialog prohibits chossing a file name in a folder that is covered by Controlled Folder Access (CFA)
I need to deploy an application on computers where CFA is enabled.
The application needs to write files to folders choosen by the user. If the user decides to browse to a folder that is covered by CFA in a save-file-dialog, for example the personal documents folder, this is blocked by the OS – of course. The problem is the crazy message that “the file was not found” and the the little window in the system tray that the application is blocked by CFA. There is a lot of talk about this senseless error message, when the user is going to write a file.