Open gmgallo opened 3 months ago
I don't repro this issue. Is this issue affecting how your app code runs, or just Visual Studio's object visualizer when debugging?
The error throws at runtime, all looks good in the editor. There is no other code between the two lines of code shown. The screenshot shows the object inspection with a breakpoint on the line var buf = .... I'll try on an empty application.
I was also unable to reproduce this issue. @gmgallo do you hit this in a blank app?
No, I haven't tested in a blank app yet. I have to move on and don't have time to investigate.
I suspect that Visual Stuido is the one to blame, not this assembly. Strange things happen all the time, like this error is happening to me now. Xaml Hot-Reload not working on and off on the same project, and the list goes on and on,
Describe the bug
Following the code example the WriteableBitmap is not properly costructed. PixelBuffer is null after construction. This is the control inspetion in Visual Studio after creation:
Steps to reproduce the bug
Expected behavior
As in the example here WriteableBitmap.PixelBuffer property
Screenshots
No response
NuGet package version
Windows App SDK 1.5.1: 1.5.240311000
Packaging type
Packaged (MSIX)
Windows version
Windows 10 version 22H2 (19045, 2022 Update)
IDE
Visual Studio 2022-preview
Additional context
No response