Extra Control.ContextMenu code is added in designer's InitializeComponent() automatically with warning when adding control to form #12836
Labels
💥 regression-preview
Regression from a preview release
🚧 work in progress
Work that is current in progress
Milestone
.NET version
.NET 10.0 SDK: 10.0.100-alpha.1.25073.20
Did it work in .NET Framework?
Yes
Did it work in any of the earlier releases of .NET Core or .NET 5+?
Yes, not repro in previous .NET versions
Issue description
In the latest .NET 10 SDK build, when adding control to form designer, extra code
"Control.ContextMenu"
is added in designer's InitializeComponent() automatically, build project with a warning:Steps to reproduce
The text was updated successfully, but these errors were encountered: