'IApplicationBuilder' does not contain a definition for 'UseWebAssemblyDebugging'

Viewed 1292

I am creating a new Client-side Blazor PWA and received the following error messages after installing a few NUGET packages:

enter image description here

It looks like this is a known issue, but am confused why it has not been fixed yet as it was reported several months ago: https://youtrack.jetbrains.com/issue/RIDER-46561

Is their a workaround I can do in the meantime?

Here are the NUGET packages/versions that I installed if that makes a difference: enter image description here

2 Answers

You need to install the package Microsoft.AspNetCore.Components.WebAssembly.Server

I had the same problem and what works for me was to change the target framework to.NET 6

Related