Blazor: Target framework of NuGet packages changed

Blazor 3.2 WebAssembly projects were compiled to target .NET Standard 2.1 (<TargetFramework>netstandard2.1</TargetFramework>). In ASP.NET Core 5.0, both Blazor Server and Blazor WebAssembly projects target .NET 5 (<TargetFramework>net5.0</TargetFramework>). To better align with the target framework change, the following Blazor packages no longer target .NET Standard 2.1:

For discussion, see GitHub issue dotnet/aspnetcore#23424.

Version introduced

5.0 Preview 7

Old behavior

In Blazor 3.1 and 3.2, packages target .NET Standard 2.1 and .NET Core 3.1.

New behavior

In ASP.NET Core 5.0, packages target .NET 5.0.

Reason for change

The change was made to better align with .NET target framework requirements.

Blazor 3.2 WebAssembly projects should target .NET 5 as part of updating their package references to 5.x.x. Libraries that reference one of these packages can either target .NET 5 or multi-target depending on their requirements.

Affected APIs

None