Hi,
In moving my project to Visual Studio 2015 I've been unable to open forms in the designer with a DateTimePickerAdv control.
Specifically, the following designer generated line of code creates the error "The designer cannot process the code at line ...":
DateTimePickerAdv1.Calendar.SelectedDates = New Date(-1) {}
Removing this line of code allows the form to be opened in the designer but the code is regenerated as above whenever the form is saved again (with any change).
I've tried setting the Calendar.SelectedDates in the designer but it isn't saved in any way. Is this a bug?
thanks,
Tim