Open virzak opened 2 years ago
have you tested this and verified that it actually works?
assuming you dont mean Design Mode for Skia itself (eg a UI Designer for Skia)
@mgood7123 Yes, I have tested it. Works in Visual Studio that consumes a nuget package.
Nice
On Sat, 20 Aug 2022, 9:13 pm Victor Irzak, @.***> wrote:
@mgood7123 https://github.com/mgood7123 Yes, I have tested it. Works in Visual Studio that consumes a nuget package.
— Reply to this email directly, view it on GitHub https://github.com/mono/SkiaSharp/issues/2110#issuecomment-1221295557, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGLITH6PO6XWIDZTSOCZ5ALV2C4WLANCNFSM5YWFSDNQ . You are receiving this because you were mentioned.Message ID: @.***>
Is your feature request related to a problem? Please describe.
Need rendering in Design mode
Describe the solution you'd like
Removing these two lines should do the trick
https://github.com/mono/SkiaSharp/blob/bcb6526eeeda9f9e4442f6a716d1ad8c8e15e4cd/source/SkiaSharp.Views/SkiaSharp.Views.WPF/SKElement.cs#L49-L50
Additional context
There could be an issue with design time when referencing a project, but should work great with nuget package.
https://github.com/dotnet/sdk/issues/8645