I'm trying to add a simple filepicker to a Blazor .NET 9 app, but it crashes. The code is simply:
<InputFile OnChange="HandleSelection" />@code {private async Task HandleSelection(InputFileChangeEventArgs e){ var file = e.File;}}This works fine in .NET 8, but causes a crash in .NET 9 with error:
The program '[36348] BlazorApp4.exe' has exited with code 4294967295 (0xffffffff).
Is there a known fix for this?