简体   繁体   中英

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

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

在此处输入图像描述

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: 在此处输入图像描述

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM