Hello I face the same problem. I am the application developer and I do not know what I could do more than contact you here. Documentation of the method CachedFileManager.DeferUpdates(file) does not specify it could throw any exception.
Users under Windows 10, does not experience any issues.
Tests with Windows 11 (22621.2428) and OneDrive (23.199.0924.0001 (64-bit)):
- Exception happens when OneDrive is on, when OneDrive is paused or OneDrive program is closed.
- Exception does not happen on any location that is not configured with OneDrive sync. (Tested user directories, SD card locations, other hard drive).
Tests with Windows 11 (25967.1010) and OneDrive (23.211.1010.0001 (64-bit)):
- Exception does not happen when OneDrive is on, when OneDrive is paused or OneDrive program is closed.
- Exception does not happen on any location that is not configured with OneDrive sync. (Tested user directories, SD card locations, other hard drive).
I wanted to post comment, but made answer by mistake. It looks like the preview version of Windows 11 or OneDrive contains the improve for the problem. Any idea what it is and when it will be released to the users?