Reputation: 415
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:
Upvotes: 11
Views: 6570
Reputation: 528
The Microsoft.AspNetCore.Components.WebAssembly.Server
package main version number (like 7.x.x -> 7) should match the target framework version number.
Upvotes: 6
Reputation: 103
You need to install the package Microsoft.AspNetCore.Components.WebAssembly.Server
Upvotes: 8
Reputation: 19
I had the same problem and what works for me was to change the target framework to.NET 6
Upvotes: 0