AutomaticallyRemapStore does not work with PropertySettings?

Vote:
 

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?
#54359
Oct 11, 2011 15:16
Vote:
 

You should change "Target Framework" to 4.0 to pass this error.

#82969
Mar 24, 2014 9:48
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.