public partial class App : Application
{
private void OnExit(object sender, ExitEventArgs e)
{
Properties.Settings.Default.save();
}
}
How to fix this? Is there anywhere I need to “register” my settings? The waving line is below Settings.
Properties.Settings is available against your application. You have to reference the Properties with the Application NameSpace.
Where
WpfApplication1is the namespace of your Application.