.NET 8 in Winforms removes code in designer.cs, how to avoid this?
We have a Winforms project upgraded to .NET 8. The conversion had only a few problems that where easily fixed, so we continued on this path.
However, now I found a problem that I suspect is a bug in Winforms designer on .NET 8.