System.Collections.Specialized.StringCollection settings work fine in Debug and Release but crash on Deployment?
问题 For my latest WPF application, I've been using an System.Collections.Specialized.StringCollection to save and load strings. My current system works like a charm in Debug and Release, but when deployed to ClickOnce, the application crashes as soon as anything involving the settings are involved (loading or saving)! However, System.Collections.Specialized.StringCollections work just fine on their own if not a setting. What could be causing these crashes? Here are my systems: public static void