I can define my custom scope:
[AttributeUsage(AttributeTargets.Property)]
public sealed class SiteScopedSettingAttribute : SettingAttribute
{
}
How do I use it in the Visual Studio Settings editor (make it available in the "Scope" combobox)?
I can define my custom scope:
[AttributeUsage(AttributeTargets.Property)]
public sealed class SiteScopedSettingAttribute : SettingAttribute
{
}
How do I use it in the Visual Studio Settings editor (make it available in the "Scope" combobox)?
To do that you must edit by hand the Settings.settings file opening it as an XML file and putting the text inside the Scope XML attribute.