You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ControlDesigner GetHitTest is not supported under net6.0 #12112
Here, after trying to reference the WinForms designer SDK, only System.ComponentModel.Design.DesignerActionList can be recognized normally on the Core project. Many UITypeEditor still do not support it, including override bool GetPaintValueSupported and override void PaintValue
Activity
Shyam-Gupta commentedon Sep 27, 2024
@Eva-SS In contrast to .NET Framework projects, WinForms designer for .NET projects uses a completely different architecture. It spawns an external process to load .NET assemblies and resolve types. There is a distinction in the way it loads design time and runtime assemblies.
For WinForms .NET designer, you will need to reference WinForms designer SDK package available on nuget.org.
For documentation and samples check: https://github.com/microsoft/winforms-designer-extensibility
cc: @KlausLoeffelmann, @JeremyKuhne
Eviav commentedon Sep 27, 2024
Thank you, but
GetHitTeststill doesn't work 😂Shyam-Gupta commentedon Sep 27, 2024
Could you please share your updated project?
Eviav commentedon Sep 29, 2024
Here, after trying to reference the WinForms designer SDK, only
System.ComponentModel.Design.DesignerActionListcan be recognized normally on the Core project. ManyUITypeEditorstill do not support it, includingoverride bool GetPaintValueSupportedandoverride void PaintValueTestDesignGetHitTest.zip
How should I use the SDK correctly, or is this interaction method not allowed by the official 🤔
Shyam-Gupta commentedon Sep 30, 2024
@KlausLoeffelmann Would you have some suggestions here?