As usual, I added a Settings file to my application:
For now the file contains one datetime property which I assign after the application code ran through:
As usual, I assign the property as follows:
static void Main(string[] args)
{
Properties.Default.LastUpdate = DateTime.Now;
}
Issue
Normally, I would then save the settings to file as follows but for some reason, VS does not like it:
full code as requested:
static void Main(string[] args)
{
Properties.Default.LastUpdate = DateTime.Now;
Properties.Default.Save();
Properties.Default.Reload();
}