Skip to content

Latest commit

 

History

History
63 lines (41 loc) · 2.39 KB

common-package-telerik-pivot-not-compatible-with-netframework.md

File metadata and controls

63 lines (41 loc) · 2.39 KB
title description type page_title slug tags ticketid res_type
Package Telerik.Pivot.Core Not Compatible with Net80
Learn how to resolve an exception about Telerik.Pivot packages not being compatible with certain .NET versions.
troubleshooting
How to Fix Error Package Telerik.Pivot.Core Is Not Compatible with Net80
common-kb-package-telerik-pivot-not-compatible-with-netframework
telerik, blazor, pivot
1634582, 1641574
kb

Environment

Product UI 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

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