-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WinForms - Add support for OOP Designer (VS2022) #4019
Comments
Guidance on adding support seems to be limited, have created |
Working branch https://github.com/cefsharp/CefSharp/tree/winforms/oopdesigner Will wait to hear from the |
thank you |
Example of crash in #4148 (comment) when using designer. Still no meaningful error message provided by the designer crash. |
- Avoid using using NativeMethodWrapper, hopefully this keeps the designer happy, no need to load CefSharp.Core.Runtime.dll Issue #4019
- Avoid using using NativeMethodWrapper, hopefully this keeps the designer happy, no need to load CefSharp.Core.Runtime.dll Issue #4019
Thanks to @davidei1955 for providing a link to a newer designer guide that was published a few months ago. https://devblogs.microsoft.com/dotnet/custom-controls-for-winforms-out-of-process-designer/ There still isn't a newer
There's some other code that can be converted to |
Anyone wanting to test out the latest changes in relation to the You should hopefully be able to add the There's still likely issues. I still regularly see crashes with the |
The new OOP designer likely requires a new design time class.
Details in https://devblogs.microsoft.com/dotnet/state-of-the-windows-forms-designer-for-net-applications/
https://www.nuget.org/packages/Microsoft.WinForms.Designer.SDK
The text was updated successfully, but these errors were encountered: