I am attempting to store values for a displayName attribute from a setting held in the app.config file.
[System.ComponentModel.DisplayName(Properties.Settings.Default.field2Name)]
This does not work because it must be a constant value, which Properties.Settings.Default clearly is not. Is there any simple way to get around this?