Open
Description
Describe the bug 🐞
Getting this error on a .NET 8 Blazor Web App, when render mode gets to WASM.
crit: Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100]
Unhandled exception rendering component: Method not found: System.Threading.Tasks.Task1<Refit.ApiResponse
1<!0>> Refit.ApiResponse1.EnsureSuccessfulAsync() System.MissingMethodException: Method not found: System.Threading.Tasks.Task
1<Refit.ApiResponse1<!0>> Refit.ApiResponse
1.EnsureSuccessfulAsync()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[d__14](d__14& stateMachine)
Step to reproduce
- Create sample project with .NET 8 Blazor
- Add Refit reference to WeatherForecast
- Call API and ask for EnsureSuccessfulAsync
- See error
Reproduction repository
https://github.com/reactiveui/refit
Expected behavior
Method should be present and request being verified
Screenshots 🖼️
No response
IDE
No response
Operating system
No response
Version
No response
Device
No response
Refit Version
No response
Additional information ℹ️
No response
Activity