New to Telerik UI for BlazorStart a free 30-day trial

Package Telerik.Pivot.Core Not Compatible with Net80

Environment

ProductUI for Blazor

Description

This knowledge base article deals with the following issues:

  • Using nuget restore on a Blazor app with Telerik UI for Blazor triggers error messages.
  • NuGet error NU1202: Package Telerik.Pivot.Core is not compatible with net80 (.NETFramework,Version=v8.0)
  • NuGet error NU1202: Package Telerik.Pivot.DataProviders.Xmla is not compatible with net80 (.NETFramework,Version=v8.0)

Error Message

C#
The nuget command failed with exit code and error

NU1202: Package Telerik.Pivot.Core 0.1.1 is not compatible with net80 (.NETFramework,Version=v8.0). Package Telerik.Pivot.Core 0.1.1 supports: netstandard2.1 (.NETStandard,Version=v2.1)

NU1202: Package Telerik.Pivot.DataProviders.Xmla 0.1.1 is not compatible with net80 (.NETFramework,Version=v8.0). Package Telerik.Pivot.DataProviders.Xmla 0.1.1 supports: netstandard2.1 (.NETStandard,Version=v2.1)

Packages failed to restore.

Similar errors can mention net70 (.NETFramework,Version=v7.0) or net60 (.NETFramework,Version=v6.0).

Cause

The problem occurs when using the legacy nuget restore command to restore .NET Core or Blazor apps.

Solution

To fix and avoid NuGet restore errors, use the .NET CLI dotnet restore command instead. Also check this StackOverflow thread about a similar scenario and error.

See Also