Posted 21 August 2024, 6:52 am EST - Updated 21 August 2024, 6:57 am EST
Hi C1,
doing my first steps in C1Dashboard and took a look at the samples. It seems there is a winforms designer problem with .NET8. It is reproducible with e.g. “ComponentOne Samples\WinForms\v8.0\DashboardLayout\CS\DashboardLayoutExplorer\Samples\Overview.cs” or “ComponentOne Samples\WinForms\v8.0\DashboardLayout\CS\DashboardLayoutDemo\MainForm.cs”. Both report this error when opening them in designer (VS 17.11.1):
"Type 'System.Drawing.Printing.PageSettings' in Assembly 'System.Drawing.Common, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' is not marked as serializable"
This makes it harder to understand how to build a dashboard layout. But we have to do it by code anyway for our use case, so I think designer support is not a requirement here.
Best regards
Wolfgang