I have a property settings class which inherits PropertySettingsBase. I now added a new property to it and a control to edit ti to it's associated GUI. But of course it can't be saved because my property settings class will be stored in the DDS which now has an outdated map which doesn't include the new property. So I decorated the class like this:
[EPiServerDataStore(AutomaticallyRemapStore = true)] public class RestrictAccessSelectorSettings : PropertySettingsBase
I recompiled/restarted the site several times but it still didn't save the new property. I looked in the database and it turned out that the store definition hadn't been updated. I finally did a manual remap using StoreDefinition.Remap and now it works.
Has anyone else experienced this? Am I doing something wrong?
You should change "Target Framework" to 4.0 to pass this error.