The <OmitItemsWithDefaultValues> key does not appear be settable. I expected that setting this key to false would have caused KeePass to write all settings to the keepass.config.xml file. It appears to be ignored. Is this correct? or am I misinterpreting the setting?
The ability to obtain a config file listing all settings could be helpful when building a KeePass.config.enforced.xml file.
OmitItemsWithDefaultValues is an informational property only, i.e. it describes the output that KeePass has created, but KeePass ignores any changes made to it; the serializer sets it to whatever it thinks is the most reasonable.
Having a method for creating a configuration file containing all items (i.e. including defaults) would indeed be a very nice thing to have. Added to to-do list.
Thanks and best regards,
Any news on this?
If there would be any news, I'd have posted it :-) It's still on my to-do list.