Ive build an UI for a Touchdisplay on Rpi with Windows 10 iot Core.
When I tested this on my PC it worked. If I now test the software on the Raspberry I get an exception on this line(s):
lblTime.Text = DateTime.Now.ToShortTimeString();
lblDay.Text = DateTime.Now.ToString("dddd");
Its an exception of type 'System.NullReferenceException' what means this DateTime.Now is null Right?
The time is set on the Windows Device Portal so idk why there ist no "Now"-Time